Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ErrorHandler puzzler
Message
From
12/09/2008 09:17:19
 
 
To
11/09/2008 17:09:58
General information
Forum:
Visual FoxPro
Category:
Stonefield
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01346881
Message ID:
01347025
Views:
15
Hi Melanie.

>4. The first is 'Object oError is not found' followed by 'Property lerroroccurred is not found' and so on.

It sounds like an error is occurring somewhere (which you may want to eliminate, but that's another topic) and although you defined an error handler that references oError, you didn't define oError to be PUBLIC (or PRIVATE in a top-level program), so it's out of scope. As a result, when the error occurs and VFP tries to execute the error handler, it can't find oError. The subsequent errors likely occur because of the first one.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform