Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fails introducing dates with two digits year
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00172937
Message ID:
00172952
Vues:
27
>Working with VFP 5.0 if I use 'Default session' I get the year from
>1930 to 2029 when I introduce a date in the format dd/mm/yy.
>But when I use the same text control in a form with 'Private data session' it does not run.
>I have tested with 'set century', 'set century to 19 rollover 30', etc. and I get 19xx or 20xx.
>Is there anything to avoid the four digits when typing the year?

When using private data sessions a number of environment setting are overridden by the data session and set to the default settings. SET CENTURY is one of these. You probably need to SET CENTURY again within your form. I issue all the set commands to set my environment in the Load event of my base form class. See the SET DATASESSION help topic for a list of settings overridden by private data sessions
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform