Hello,
I would like to reset a date value and a time value to NULL so that the field can disappear when he is empty.
Actually, i have a bot that is setting their values to "" when my event occurs but that doesn't erase the value of these fields. It works only whith text fields.
Is there any command to set a value to NULL ?
Solved! Go to Solution.
If you've got the "reset on edit" turn on - and you're not using a formula to conditionally control when it should reset - then it's basically the same as having an app formula inside that field.
You'll need to do something with more nuance:
My quick test with an action to set a date field to "" seems to work fine.
What specific issue are you facing?
This is my step in my automation when my event occurs :
It works for the lasts fields (they are in order phone field, email field and text field) but those framed in red aren't setting to NULL (hour field and time field).
I don't inderstand why.
Do you have a formula driving these fields??? (I would imagine automation wouldn't let you try and set those, but you never know...)
They have an initial value that is resetted at every modifications :
does it prevent giving the NULL value to the fields ?
If you've got the "reset on edit" turn on - and you're not using a formula to conditionally control when it should reset - then it's basically the same as having an app formula inside that field.
You'll need to do something with more nuance:
Thank you it works !
Generally in AppSheet:
THe only way I know how to get a true null value in AppSheet is with the IFS() statement's fallback
IFS(
logic1, result1,
logic2, result2
)
That fallback, if none of the branches of the IFS() evaluate to true, is the only way I know how to get a true null
DATE("")
TIME("")
Simple solution, and it works perfectly! Thanks, Steve!
User | Count |
---|---|
36 | |
33 | |
27 | |
23 | |
18 |