Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid date problem
Message
From
14/05/2004 17:11:48
 
 
To
14/05/2004 14:52:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00903862
Message ID:
00904223
Views:
13
Hi Nancy,

I think you're right! The forms Error event fires and I can trap the error there. Better, it fires even if the control is not bound to a form's property (in my case, it's bound to a field).

The first tests I ran work fine! Here is my code:
*----- FORM ERROR event
LPARAMETERS nError, cMethod, nLine
if nError = 2034
	wait window nowait 'Invalid date'
	thisform.ActiveControl.setfocus
endif
Very grateful for the tip, thank you Nancy!

Christian
Gensoft Sàrl
Christian Carron
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform