0
"Set-Date-script" - something goes wrong
Guys, I have i button to set a task to "Done"
Deadline := null;
Today := null;
DoneDate := Today;
Status := 3
The "DoneDate" field does not set the value to "Today" but returns null. What is wrong with my code?
2 replies
-
John,
I suppose Deadline,Today,DoneDate and Status are fields in your table?
Else if you use them as variables in your code you must use the 'let' - prefix to assign them. > let Today := today() > also notice the lowercase in today()
If not then it should be : DoneDate := today();
Steven
-
Thanks Steven,
I did try the () bit - but didn't pay attention to case sensitivity - Problem solved
Have a nice one
J-)
Content aside
- 2 yrs agoLast active
- 2Replies
- 144Views