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

Click here to load this message in the networking platform