>>I got a chance to check the code. The general structure is
>>
>
> TABLEUPDATE(0,.T.,'inventorytable')
>
If it fails how do I return the REPLACE?
>
>As I said, if you don't check the return value from TABLEUPDATE(), all bets are off, even with the "yes, force it" parameter.