Information générale
Catégorie:
Codage, syntaxe et commandes
>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}
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement