I have 3 Tables - Product, Design and Orders ( Images Attached)
Now I want to get the Design status of the Order from the Product Table and Design Status of the Product from the Design Table . But whats more crucial is to update these status as and when they are changed in the reference table.
For Eg. Whenever I Change the Design status of a Particular Product from The Design table, the Design Status Field in Product Table should get updated. Likewise ,Product Design Status in the Order Table should also get updated.
How is that possible ? Plz refer the attached images
Hello @Manish_Jain1, if your design status column are just references like [Ref_column].[Status] you will only be able to change the status directly from the design table itself, by editing the row directly or using actions, and when you do, as you already know, all those references wonโt update on their own, since those rows were already saved before the change, for automating this you have a few options:
Make your design status column on your โOrdersโ and โProductsโ tables a virtual column, so the status is updated whenever it is changed on the โDesignโ table, this is the easiest approach, and given the efficiency of using references, it will be decently fast too.
Set up a grouped action that will change the design status in the design table, and also change a value from any column (could be a helper column) of the child rows belonging to that record, so that the referenced columns are re-evaluated by AppSheet, and therefore refreshed.
Iโm not really seeing much of a difference between your 3 tables, you probably made those just for illustration purposes, but if they are so similar in real life i would just merge them hehe
This One seems the best option but I was struggling to make the Virtual Column as a Ref Column as Virtual Column Expects an App Formulaโฆ After many trials, In the Design Status Virtual Column inside the Products Table , I gave the Ref to Products and [Product Code] in the app formula and it somehow is working nowโฆ However, I do not understand the logic behind that .
Yeah , Its just for reference mateโฆ The actual data is pretty large.
The thing is youโre not gonna use the virtual column as a ref column itself, youโre using it to dereference the status, for example:
[Ref_column].[Status]
Would pull the Status column directly from the table to which the ref column references, and thatโs the only formula you need in this case.
User | Count |
---|---|
44 | |
29 | |
23 | |
20 | |
15 |