Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date format
Message
De
31/01/1999 22:12:44
 
 
À
31/01/1999 18:57:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00182334
Message ID:
00182347
Vues:
11
>In VFP5 if ...
>SET CENTURY OFF
>SET CENTURY 20 ROLLOVER 60
>and I create a date text box on a form with a value of {}, then enter a date of say 12/12/89, it displays just that. If I enter a date of
>12/12/12 the display changes to 12/12/2012 with the last '12' partly hidden.
>If I use VFP6 it's more consistent, but the full century always shows, despite it being turned off.
>
>What gives? Can I make it work to only accept and display the 2 digits?

What gives is that SET CENTURY is scoped to the datasession... so, you have to make sure to run your SET CENTURY commands in EACH form with a private data session.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform