Hi Guys,
Is there a way to determine what is the correct ref table of a ref column, depending from a previous choice ?
Example :
I have a 3 suppliers. I have 3 product tables, one for each supplier.
In my order table, I choose the supplier and then, the article column (ref) would show rows from the concerned supplier product table only.
I know the concept of filtering whithin a table but is there any possibility to manage a ref column like this ?
Thanks
A column of type Ref can only refer to a single table. Ideally, all of your suppliers would be represented in a single table, rather than a table per supplier. To continue using a table per supplier, youโd need a column per supplier, each of type Ref to the corresponding table.
Thanks Steve ! Thatโs what I thought. It is a kind of dilemma as multiple tables are usefull in the purpose of supplier prices update for exemple. Do you think of anything possible with appsheet like : โa full product tableโ which could contain and update all rows of separate โsuplier product tablesโ ?
As Steve mentioned, dont split tables to multiple separate one, but stay as minimum number of tables as much as possible. That s the best practice, not only for Appsheet, but for any solution driven by Relational Data Base metholodogy.
You can split the table as you like by using Slice function, but once the tables are originally separeted, it is difficult to UNION all those table, currently union function is not supported by appsheet as well.
Ok yes I see ! Iโll find a way to deal with it.
For reference:
User | Count |
---|---|
43 | |
29 | |
22 | |
20 | |
15 |