Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This is a weird one...
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
This is a weird one...
Miscellaneous
Thread ID:
00122007
Message ID:
00122007
Views:
52
Ok, I'm totally baffled. I've just written a small error handler routine that is real simple.

ON ERROR DO FORM ErrHand with message(),program(),lineno()

My form then displays the error and does a controlled shutdown of all tables or gives the user the ability to ignore the error if it is minor (Printer not ready, etc.). Pretty standard stuff. The only problem is that when I invoke ON ERROR DO FORM I get an error that does not occur with just ON ERROR. This happens when I try to use a table that does not have an attached CDX. I get an error 'Structural CDX Not Found'. This error DOES NOT occur if I just have ON ERROR as the default. Am I missing something here?

I understand that the error event is another option but I have multiple forms and I don't really want to add a custom event handler to my base class unless that is my only option.

AHWBGA!
TIA!

Kevin
Kevin Scott
kehvn@carolina.rr.com


Hey! It's not my fault. It's some General named Protection!
Next
Reply
Map
View

Click here to load this message in the networking platform