Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapters, tableupdate and exceptions
Message
From
25/02/2005 03:08:13
Eyvind W. Axelsen
Profdoc Norge As
Oslo, Norway
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00990002
Message ID:
00990430
Views:
26
>Process each record one at a time using GETNEXTMODIFIED and GETFLDSTATE functions to SCAN your cursor for changes and what kind of change. Then when you issue:
>CLEAR ERROR
>lnSuccess = TABLEUPDATE(0, .f., 'MyCursor')
>see if lnSuccess is less than 0. If so, then use AERROR() to capture the error info.

Unfortunately, this mechanism cannot be used, because the info in the array created by AError() contains only the message "User thrown error", and not the message in the actual exception that I throw.

Other ideas?

Eyvind.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform