Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Year 0000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01003937
Message ID:
01010010
Vues:
30
>George,
>
>I think, this would not work, though I need to test it.
>
>Fabio's solution works very nicely.

Nadya,

Any date/datetime value prior to and including the 16th century is subject to question. The answer you received from Fabio is overly long. I have a date text box class that allows the user to enter a two digit year, but displays the year as four digits. If you wish to restrict your users to entering a proper value, then I suggest that you do the same.


>>I know you've already gotten your answer, but the best way to do this is something like this in the Valid clause
RETURN (YEAR(This.Value) >= 2000)
You'll have to modify the year.
George

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

Click here to load this message in the networking platform