Good Morning,
I have a virtual column in my app that contains a date. This date updates to the NOW() date, based on the status of the data in another column.
For example, I have a 'Yes/No' button and when the user presses 'No', the date in the virtual column needs to update to the NOW() date. Otherwise the column is hidden from view.
I have this function working correctly using the following formula;
IFS([รtat du Remboursement] = "Fermรฉ", NOW())
However, every time the App is synchronised and the condition is met, the date NOW() is being updated.
How can I have this function work one time, and then not update the date NOW() when the app is synchronised?
Thanks in advance,
Jack
Solved! Go to Solution.
ยฟCรณmo estรกs? En lugar de utilizar una columna virtual (que se calcula y recalcula automรกticamente cada vez que la aplicaciรณn se sincroniza), utiliza una columna real.
Intente establecer la expresiรณn de recรกlculo en el "valor inicial".
Then check what suits you best (whether the value should be reset or not). If you need it to be reset, make sure you have the "reset on edit" button checked, otherwise it should remain unchecked.
ยฟCรณmo estรกs? En lugar de utilizar una columna virtual (que se calcula y recalcula automรกticamente cada vez que la aplicaciรณn se sincroniza), utiliza una columna real.
Intente establecer la expresiรณn de recรกlculo en el "valor inicial".
Then check what suits you best (whether the value should be reset or not). If you need it to be reset, make sure you have the "reset on edit" button checked, otherwise it should remain unchecked.
Thank you very much, using a real column seemed to solve my problem.
The date/time is no longer updating with every sync of the app - perfect!
Thanks again and have a good day!
Same to you! Happy 2025. I see you are a new member. I recommend two posts.
If you need a now() time only on creation of the row, you need another column in your database and set the Auto Compute -> Initial value to now() and use this column as source for the time.
IF([รtat du Remboursement] = "Fermรฉ", NOW(), [your_column])
Would be the expression then.
But if you need this time to be updated under special conditions automatically, you also need to create a bot to do that.
User | Count |
---|---|
16 | |
13 | |
8 | |
7 | |
4 |