Hi,
Need some assistance here. I'm creating an apps for my front user to report faulty equipment to maintenance team and both tables are dynamic where users will update accordingly.
I'm currently struck with below.
Cant get my head around what formula and how? Max(Select))
Appreciate any guidance. Thank you in advance
UX card view for Reports data
Updates, Adds & Deletes
Updates, Adds & Deletes
Solved! Go to Solution.
Hi @junjie8709,
Maybe try to place [Latest_Maint_ID] in Reports table and then [Latest_Maint_ID].[Work Status] dereference expression in Reports [Status] app formula (but make it virtual to always be calculated). However, if you need this [Status] value to be stored in your database, you can create a [Trigger] column to "refresh" the record manually or a kind of automation using actions to make it happen automatically. Hope it helps!
Hi @junjie8709
I am not sure whether I understand clearly but in one of my apps I had to create something similar I guess.
What about creating new ref_type virtual column where you will be storing the latest row ID string using MAXROW() formula and then use it to retrieve needed values by dereferencing [latest_rowID].[needed_value]?
This is how statuses under different operations are being handled in my app. Thanks to this I have whole history of status change.
If I am wrong please correct me guys! 😊
Hi Mateo,
Yes you are spot on changing the statuses regards to the same operation item.
Did you use MAXROW(SELECT())?
Take a look at MAXROW() formula syntax
Hi Mateo,
I managed to get MAXROW() but not sure how to dereference in table reports- column status.
Hi @junjie8709,
Maybe try to place [Latest_Maint_ID] in Reports table and then [Latest_Maint_ID].[Work Status] dereference expression in Reports [Status] app formula (but make it virtual to always be calculated). However, if you need this [Status] value to be stored in your database, you can create a [Trigger] column to "refresh" the record manually or a kind of automation using actions to make it happen automatically. Hope it helps!
Hi Mateo,
Great! Works like magic now. Thank you 🙂
I am glad it helped! You're welcome 😀
User | Count |
---|---|
40 | |
34 | |
29 | |
23 | |
17 |