Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Number
Message
From
11/04/1998 00:54:07
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00090990
Message ID:
00091261
Views:
20
>I just to want to check Date Validation and want to display my own message rather then system message i.e. "Invalid Date".

In the Valid event SET NOTIFY OFF (supresses system messages) put your message and then issue a RETURN .F., as follows:

SET NOTIFY OFF
WAIT WINDOW "Your date entry stinks!"
RETURN .F.

In the LostFocus event, put SET NOTIFY ON if that's your app setting
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform