Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verify Valid Date
Message
 
 
To
14/01/2010 18:17:45
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01444072
Message ID:
01444073
Views:
89
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
Previous
Reply
Map
View

Click here to load this message in the networking platform