Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a way to validate a date.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00712402
Message ID:
00712413
Views:
8
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform