Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set century to
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00122405
Message ID:
00122426
Vues:
18
>I have a problem with date editing in a textbox.
>I have a textbox with the controlsource set to a date field.
>I have set century to 19 rollover 10 off.
>the box displays dates in the form 99/99/99, as it should.
>When editing, all works well except when the rollover is executed
>at which time the textbox then shows the date with set century on
>in the form 99/99/9999.
>Is this a fault of VFP5 or am I no missing something?
>Thanks for your help
>Spencer Fried
>sfried3@ix.netcom.com

Spencer,

This is by design according to Micorsoft. It has to do with preventing confusing dates from being displayed.

VFP6 gives even more control over this, but if you use VFP6 in a mode for Y2K compliance it will require you to use 4 digit years. For example, what date it this;

01/01/92

Well, it might be 1992, or 2092, but, in fact, when I typed it I was thinking of 1492 when Columbus sailed the ocean blue.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform