Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On error
Message
From
02/09/2010 13:26:08
 
 
To
02/09/2010 13:11:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01479802
Message ID:
01479835
Views:
54
>>I'm using
>>
>>ON ERROR DO errHandler WITH ;
>> ERROR( ), MESSAGE( ), MESSAGE(1), PROGRAM( ), LINENO( )
>>
>>but ERROR( ) returns 0 all the time.
>>
>
>What if you call AERROR() in the error handler? Do you get the right error #?
>
>Tamar

Yes

aerror is giving me (in my test) 107 which is correct.

But Error() gives me 0

No need to investigate further. Its an old system and that'll do for me.
Previous
Reply
Map
View

Click here to load this message in the networking platform