Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why would someone use a set century off command
Message
De
03/09/1999 14:19:45
 
 
À
03/09/1999 13:39:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00261152
Message ID:
00261293
Vues:
33
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform