Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoid "Invalid date" message
Message
 
 
À
24/01/2005 15:54:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00825981
Message ID:
00980188
Vues:
54
>It still works. The key here is, VFP will filled in TextBox.Value only *if* the date is valid. So we can validate it using Textbox.Text property. And that's the reason why I only checked for 2 characters from the left
>
>Using the code I posted, it will throw the usual VFP message "invalid date" only if the user type in an invalid date then click some object (using mouse). You will have to add your additional check for this

Thanks again. I'm going to play with it right now.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform