Please leave it without any macro substitution at all :)
Maybe the wrong table is selected? Add the IN clause to the replace.
REPLACE (TVar) WITH "AO" + cOrder + cLine in tableName
Perhaps (for testing purposes) you should add a BROWSE right before that command, so you can see the table (and record) that is currently selected.
>
>thanks for the response; unfortunately, I have tried that as well with the same result. I have also tried to execute the entire command via macro substitution like:
>
Steve Gibson