Peter:
You can get this problem if you still have focus within a grid. Grids have a special way of handling current alias and this might be causing your problem.
HTH,
--Paul
>I am having problems printing a report using VFP6. My selected table has 1 record and when I do a preview of the report everthing is ok. If I click on the preview to zoom in I get a "Variable XXX is not found."
>
>Also, if I try printing the report I get the same error message. If I "browse" the table before the REPORT command all the fields are present and the report works fine!!!!
>
>Ok
>==
>select .......
>brow
>report .......
>
>Not Ok
>======
>select .......
>report .......
>
>Any suggestions ?????