>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.