Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strictdate problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00227305
Message ID:
00227331
Views:
23
>I am converting my vfp5 to vfp6 application. I seem to be having problems with dates. Everytime I enter a date I keep getting the following error:
>
>Error 2032: Ambiguous Date/DateTime constant.
>
>I'm I suppose to issue some command before I stop getting these errors. Doesn't vfp5 programs with dates convert over into vfp6 with issuing further commands. Thanks

To set the Year 2000 compliance level. Click on Tools, Options, General, then choose your setting of 0 - Off, 1 - Constants, 2 - Constants plus CTOD, CTOT

If you want to keep constant checking on you will have to use the strict date format.

{1999/01/21} would be {^1999/01/21}
Previous
Reply
Map
View

Click here to load this message in the networking platform