Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Century
Message
De
27/12/1999 15:04:42
 
 
À
27/12/1999 14:59:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00308881
Message ID:
00308906
Vues:
21
>>You're doing this correctly if you want any year entered as 30 or above to be in the 20th century and any year entered below 30 to be in the 21st century. Personally, I usually use a number higher than 30, but it really depends on your app.
>
>With this setting in place, a user enters 1/3/00 as an effective date and is told by the system that the transaction date is prior to the last transaction date (which is 12/10/99). When I break the program VFP tells me that the entered date is 1/3/1900.
>
>I have the set century statement in_ the current form because its a private data session and I know the statement is session specific.
>
>CG

Where in the form do you have the SET CENTURY command? You should probably have it in your form's Load method.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform