Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60-Date field
Message
From
12/11/1999 14:00:04
 
 
To
12/11/1999 13:30:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00290671
Message ID:
00290687
Views:
13
>Is there a way to force users to enter the four digits for the year in a date field?
>
>I have tried SET CENTURY ON but this doesn't force the user to enter the four digits. I have tried SET STRICTDATE but the same results.
>
>Any suggestions, comments, notes, etc? Thank you in advance.

There is not a native method that I know of. But you could emulate it in one of several ways...

make your text box type actually a character field with the inputmask of 99/99/9999 and validate in the valid, forcing all 4 digits.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform