Hi,
I'm totally stuck on following scenario;
On DetailScreen1 in DataCardValueX I have a date/timestamp which I got from pressing a button with Set (varTimeNow1;Now()) in the EditScreen1
When pressing the Edit button (pencil) on the DetailScreen1 I've made it open EditScreen2 and there the DatacardY with the timestamp needs to show
Either; -if there is a timestamp saved in the previous save > show the timestamp (I made this Default: Text(DataCardValueX)
-if there was no timestamp previously saved (So DataCardValueX is empty) I want the option to press the button and launch varTimeNow;Now()) > For this I've put If(IsBlank(DataCardValueX); Text(varTimeNow;"dd-mm-yyy hh:mm"); Text(DataCardValueX))
So far it works but now the part I can't figure out;
-if there is a timestamp saved in the previous save but I want to change it, I created a popup via variable when pushing the DataCardValueY showing the timestamp. The popup is set up with a date picker and hour and minutes. The selcted date I have showing in a label also in the popup (will make invisible after but I guess I will need the data in that label to overwrite the previous timestamp?)
Can anyone help me with this please?
So basically; if previous timestamp was saved > show it and provide the option to change via the popup and overwrite the old one (if I want to show time that is not current) or push the button again for new current time and overwrite previous, if no previous timestamp > push the button to insert the current time

Report
All responses (
Answers (