Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force a 4 Digit Year
Message
De
28/04/1999 23:44:34
 
 
À
28/04/1999 19:21:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00213242
Message ID:
00213296
Vues:
33
Look into the Files section here on the UT. I *think* it was Jim Booth who posted a solution to this problem.

>How do I force a user to enter a 4 digit year. I have looked at SET CENTURY TO n ROLLOVER n command and have created a table with a date field. But the user can still enter a 2 digit year and then the SET CENT command comes into effect.
>
>I want to FORCE the user to enter 4 digits as the year!
>
>This has to be in code as OCX's are not stable enough in VFP for me.
>
>Thanks
>Bernard
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform