Sergey
The code I am using to get the error info is as follows:
jl=TABLEUPDATE(2,.f.,"v_materialstock","myerror")
jl returns .f.
myerror[1]=1
Aerror() does not have anything in it as no error seems to have occurred - just a failed update. Sorry if I am not understanding you.
Barry.
>You don't have to guess. The AERROR() fills an array with error(s) info and returns the # of errors stored in the array..
>
>>AERROR returns a single value of 1 - which will be the record number I am trying to delete. So it does appear to be a commit error.
>>Barry
>>
>>>What's the error ( AERROR() ) in TABLEUPDATE()?
>>>