Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verify Valid Date
Message
 
 
À
14/01/2010 18:17:45
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01444072
Message ID:
01444073
Vues:
88
This message has been marked as the solution to the initial question of the thread.
>I have an InputBox prompt for the user to type in a date.
>
>How can I verify this is a valid date?

Is it a character return? If yes, then empty(ctod(MyInput)) will give .t. if invalid date. Though it gives .t. if you give / / too.
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