Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid date problem
Message
From
14/05/2004 11:49:16
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00903862
Message ID:
00904114
Views:
20
Hi Christof,

If I DO a simple form from VFP command window, all runs fine: I can trap the error.

If I run the SAME form from within our app, the error handler executes then the app quits, period. The error handler can be very simple: ON ERROR WAIT WINDOW "Invalid date" NOWAIT. I see the message and it seems to CLEAR EVENTS...

I even tried to create a textbox class that changes dates in simple char values in GetFocus then changes them back to Date type in LostFocus, making sure to change the ControlSource, etc. When it comes to convert back to date, the app behaves the same and quits when I simply store the Date(nY, nM, nD) back to the Value.

Is it a library or DLL we call? a setting we do? I've been after this one for 3 days now. I'm about to try other controls (activex) :-(
Gensoft Sàrl
Christian Carron
Previous
Reply
Map
View

Click here to load this message in the networking platform