Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET CENTURY stuff
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00206098
Message ID:
00206642
Vues:
23
>SET CENTURY OFF
>SET CENTURY TO 19 ROLLOVER 5
>Century property set to 2 - Default
>
>this is what happens. If I enter 99/02/01 and I Tab back to the field, I see 99/02/01. If I enter 00/02/01 and Tab back to the field, I see 2000/02/01. So the system forces a 4 digit year for dates >= {2000/01/01}.
>
>Do you see something different?
>
Joe,

You are right, that is exactly how VFP5 works. VFP6 has added a century property to teh textbox that can be used to control this behavior. If you don't use that property then 6 behaves just like 5 however 6 can use the enw property to change the behavior.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform