General information
Category:
Coding, syntax & commands
>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
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