I cannot use TABLEUPDATE() since this is temporary cursor. I use this cursor to collect document rows.
For saving document, I use COPY TO and TABLEREVERT()
I added LOCK() command because without lock command, the same error occurs in REPLACE command. Using LOCK() I can output a friendly error message. However, error still occurs.
>When using buffering, rlock() isn't required any more. VFP will do all required locking implicitly.
>
>Just do a TableUpdate(), and check the result.
>
>
>if not TableUpdate(...)
> aerror(...)
> MessageBox(...)
>endif
>
>
>HTH, Hilmar.
Andrus