Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why would someone use a set century off command
Message
From
03/09/1999 14:19:45
 
 
To
03/09/1999 13:39:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00261152
Message ID:
00261293
Views:
34
>I agree that the user should be able to select the way he want to enter dates.
>
>The user can still enter 01/01/01 with SET CENTURY ON and a ROLLOVER if SET DATE TO MDY or DMY.
>
>>Why not? If you have SET CENTURY TO nCentury ROLLOVER nRolloverYear then an 8 character date field respects the right century. In fact, it's easier on the user to enter 01/01/01 for Jan 1, 2001 AS LONG AS the application can always determine the proper century.

I always have room to enter the 4 digit year, but the user is free to enter only 2 digits if they so desire. If the ROLLOVER setting doesn't yield the right date for them, then they must enter the 4 digit year.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform