Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date in textbox
Message
From
20/04/1998 23:27:39
Michel Lalonde
Laboratoire Médical Biron
Lachine, Quebec, Canada
 
 
To
20/04/1998 07:33:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00093234
Message ID:
00093570
Views:
32
>The Error event is not fired for invalid dates.
>
>Vlad
>
>>Try using the Error Event for the textbox. You could find out what the error number is for the message you want to intercept and put your own message in there. Use the MessageBox() function for your own message in the centre of the screen.


Use the ON READERROR command with SET NOTIFY ON

Ex.

** Global setup
SET NOTIFY ON
ON READERROR MESSAGEBOX ("Le format de la date est invalide")
***

..

DO FORM ...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform