>>>>>when running a preview of a report in a executable, a variable 'x' is not found" error message is being issued. the variable exists and it is coming from a cursor created with a select statement. is there a bug I did not know about. the report runs fine in the vfp environment.
>>>>>
>>>>>
>>>>>any help is greatly appreciated
>>>>
>>>>How and where is the "x" used in the report?
>>>>
>>>>Just curious .. how do you use FoxPro at M-Dcps? I'm asking because I just started working for Optimal Solutions which has a School Finance application written entirely in VFP 7 that is sold to school districts throughout Michigan.
>>>>
>>>>
www.optimalinternet.com>>>
>>>I am getting the first page on the preview, when i try to go to the next page, it gives me the variable 'x' is not found x is any variable. yes i am selecting the cursor and there is no private datasession on the report .
>>
>>Could it be that you open your report from form with a grid, which currently has focus? If so, try to move focus out of the grid before calling your report.
>
>that's it....thank you. i did not know about not running a report when a grid was present on a form
I discovered the same problem while ago. I don't know, if it's fixed in VFP7 or not...
If it's not broken, fix it until it is.
My Blog