Hi
I have toogle buttom on a gallery.
On select I have :
Patch(MPS;{Id:ThisItem.Id};{EQButton:Self.Value});;
Patch(MPS;ThisItem;{EQformat:If((DateAdd(ThisItem.EQ;-6;Hours))<Now();3;2)})
Default I have:
If(ThisItem.EQButton=false;false;true)
I want to compare NOW with the time in EQ field, if NOW is older than EQ field, then i want the value 3 in EQformat.
This is working okay, but if I set the toogle to uncheck, the EQformat should be 2, but this dont work, it is still 3.
Can you help me?
Regards
Tony

Report
All responses (
Answers (