>>Also, what is the ON ERROR ?
>
>There is no error showing. And I don't have anything set in the ON ERROR. I just open VFP IDE, then USE the table and then type SET ORDER TO TAG MyField2.
I've tried it and I got 'variable WrongTagName is not found'
Type
ON ERROR
in the command window and re-try.
If it's not broken, fix it until it is.
My Blog