Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force a 4 Digit Year
Message
From
28/04/1999 23:44:34
 
 
To
28/04/1999 19:21:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00213242
Message ID:
00213296
Views:
34
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
Previous
Reply
Map
View

Click here to load this message in the networking platform