Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox Value property disappears
Message
 
 
À
01/11/2002 08:02:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00717555
Message ID:
00717740
Vues:
17
Hi Alan,

When date is set to LONG or SHORT VFP uses Windows API functions to do date manipulations. That's where {^1600-01-01} restriction comes from. My guess is that DTOS() still works in this case because it wasn't changed to use WIN API.

I cannot remember where I read explanation

>Very strange. For whatever reason, as you pointed out, with date set to short in VFP7, DTOC({01/01/1600}) resolves to an invalid date. Even doing this:
>
x = {01/01/1600}
>? x
>
>gives an invalid date on the second line.
>
>BUT VFP7 has no problems at all with
>
? DTOS({01/01/1600})
>
>Some weird bug huh?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform