Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Text Boxes
Message
From
20/11/1999 01:44:58
 
 
To
20/11/1999 01:03:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00293408
Message ID:
00293416
Views:
27
>How can I use the Valid Event of a Text Box to make sure a Valid date was typed in?

To answer your question, you can do:
if type('this.value') = 'C' and !empty(ctod(this.Value))
  &&The Value is a date
else
  &&Not a date or is empty
endif
Previous
Reply
Map
View

Click here to load this message in the networking platform