Hi,
I'm developing a task tracking app. However, I can't seem to find a way to remove the date when the task is completed.
I have an Excel Table called providerTable, gallery with an editable DatePicker called dpTaskFU, and a button called btnReset-dpTaskFU with a Text value of: "Complete"
For the dpTaskFU properties:
OnChange is set to:
Patch(providerTable,ThisItem,{'taskFU-Date': Value(DateAdd(dpTaskFU.SelectedDate,-TimeZoneOffset(),Minutes))})
Reset is set to:
'btnReset-dpTaskFU'.Pressed
And the OnChange doesn't seem to fire when the reset goes off successfully. So I'm trying different things with the button like setting the OnSelect to...
Patch(providerTable,ThisItem,{'taskFU-Date': dpTaskFU.SelectedDate})
Patch(providerTable,ThisItem,{'taskFU-Date': ""})Patch(providerTable,ThisItem,{'taskFU-Date': IsBlank()})Patch(providerTable,ThisItem,{'taskFU-Date': IsBlank("")})
No matter what I do, these blank dates are not accepted (it says it's looking for a date value).
I just need to set the field in my excel table to a "" blank value when the task is completed. Any ideas on how to accomplish this?