Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need a way to validate a date.
Message
De
17/10/2002 12:19:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00712402
Message ID:
00712413
Vues:
9
Hello Erik,

If this.value is a date data type, valid() does not fire if the date is invalid. The cursor just stays in the textbox.

So I wonder what data type the textbox is bound to...

>
>You can do it this way, in for example the VALID method
>
>IF EMPTY(CTOD(THIS.VALUE)) THEN
>   *!* Error message
>ENDIF
>
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform