Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Flakyness' with SET DATE TO command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
'Flakyness' with SET DATE TO command
Miscellaneous
Thread ID:
00316169
Message ID:
00316169
Views:
58
Has anyone experienced inconsistency with different date formats in VFP 5.0? I have an Australian user who most likely is using the BRITISH date format, and thus a certain date comparison is incorrect. While debugging, I'm getting very inconsistent results: If my code evaluates:
IF (DATE() > {07/01/2000})
* Code block...
ENDIF
..it skips over the block of code, even if the same expression evaluates to .T. in the watch window! If I close the debugger, make no changes, and recompile, the code block is executed.
Mark
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Next
Reply
Map
View

Click here to load this message in the networking platform