Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error() returns 0 for a 1526 style error
Message
 
 
To
18/10/2005 19:31:03
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01059895
Message ID:
01060160
Views:
17
Thanks for the reply guys.

I'm trapping the error by doing somthing like :

ON ERROR oError.ErrorHandler(error(),sys(16),lineno())

In the oError.ErrorHandler method I have the following parameters to accept the values from the on error call.

LPARAMETERS tnError, tcMethod, tnLine

tnError is 0

if I replace the error handler and place it in a standard prg, so my on error handler looks like :

ON ERROR errhand(ERROR(),SYS(16),LINENO())

When the error occurs and errhand.prg is run then tnError is still 0.

Weird eh?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform