Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET DATE SHORT problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00812043
Message ID:
00812054
Vues:
42
Ok, thanks. I noticed that too after I posted my message.

But it goes deeper than that. If you create a textbox that has a date field as a control source, normally you can't enter an invalid date. You get an internally-generated WAIT WINDOW message telling you the date is invalid, and you type in a good date and go on your way. No error is generated.

But with SET DATE SHORT, you enter say 01-01-0100, VFP throws and error and there is apparently no way to trap it. I tried catching it in VALID and the error occurs before VALID gets called.

So if they want to not handle dates before 1600 for SET SHORT, fine. But there are still problems that need to be addressed.

Thanks,

Dennis

>Dennis,
>
>It's documented in VFP help under SET DATE Command.
>
>>Hi--
>>
>>If you issue SET DATE SHORT, VFP no longer handles any dates before
>>{^1601-01-01}. It throws an DATE/DATETIME EVALUATED TO AN INVALID VALUE any time you attempt to use a date prev to 1601 in any way.
>>
>>Are any of you Microsoft guys aware of the problem so it can get fixed?
>>
>>Thanks,
>>
>>Dennis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform