Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inconsistent DATE handling in VFP 6.0
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00206454
Message ID:
00206463
Vues:
14
>>Since there was no year 0, both dates are actually invalid. In the grid's text box control, you might add a check for year 0 and return .F. (preventing exiting the control) if the year evaluates to zero.
>
>George, I just entered 02/01/00 to one my system and received 02/01/2000. I guess, it's pretty normal.

Hi Ed,

In both the examples Brenda provided, more than two digits for the year were indicated. In both instances on my machine (using the strict date date entry) the behavior was as she indicated. AFAIK, ROLLOVER (which I assume caused your result) only is applied to the entry of two digits.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform