>>>>I got a chance to check the code. The general structure is
>>>>
>
> TABLEUPDATE(0,.T.,'inventorytable')
>
>>>As I said, if you don't check the return value from TABLEUPDATE(),
>>>all bets are off, even with the "yes, force it" parameter.
>>
>>If it fails how do I return the REPLACE?
>
>What do you mean by "return the REPLACE"? You mean how do you get it to go through after all?
Thanks for reply, I was working on anthoer projgect.
What I would like to do is Re-try the REPLACE command if it fails.
I did look at reporocess help file. I noticed that current command is
SET REPROCESS 5
which I assume retry 5 times which may not be enought time. What are the conseqeunces of changing it to
SET REPROCESS 5 SEC
Will it cause the end user pronblems.
Also there is an error handler, I am correct in assuming it is not invoked if TABLEUPDATE fails?