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