General information
Category:
Coding, syntax & commands
Ok, so I just tried the following in the Init of the form...
SET CENTURY ON
SET CENTURY TO 19 ROLLOVER 60
WITH THISFORM
.Txt1.Value = DATE()
.Txt2.Value = {11/29/45}
.Txt3.Value = {11/29/65}
ENDWITH
... and I get ...
11/29/1998
11/29/1945
11/29/1965
So, not only does it seem redundant that I would have to do the set century on before doing set century to 19 rollover 60, but doing so it seems that the second set century command is ignored. So, now I'm even more confused. I would expect the second set century command to be the one in effect for the text box value assignments, but it appears to me that the set century on DID fix the problem of the missing 1900 part of the year, but the third text box should be displaying 11/29/2045, not 1945.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only