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

>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).

Ah. I was relying on my comment, so I'm very happy it turned out to apply to your situation, too.

>
>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!

You're very welcome. I can't tell you how crazy this made me. I'm sorry I didn't see your thread sooner.
Previous
Reply
Map
View

Click here to load this message in the networking platform