Haven't tried your suggested code yet Victor. But as for you other two points -
>-If buffering option is set to on check for the tableupdate function is used correctly
Shouldn't make a difference. If I put the following statement after the lines in which I set nonstock to .T.
wait window iif(ordentlines.nonstock,"T","F")
Then it gives a value of .T. before the ELSE and .F. after the ELSE which indicates that it is going through the code as per your next inquiry.
>
>-Try the step by step debugger to see if the program pass throug the lines after the ELSE section.
***************************
Bruce Gilmour
"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein