Tim,
VFP out-of-process server runs in it's own memory space so it cannot see your application's variables, cursors or tables. You can generate a temporary table for you report and pass it's name as a parameter so COM object could open it right before printing a report.
>I create an SQL cursor in the PRG. I select the cursor before I do the REPORT command. I do not open any tables in the FRX.
>
>I tried an experiment. I created a FRX with some text in the page header and nothing else. When I try to preview the report, VFP asks for a table. Is there a way to tell VFP not open a table in the report? If I go to the data environment and add any table, the preview works. BTW, I am using VFP 8.0.
>
>I also was able to create the PDF with the test report. So, I guess it is problem with finding the data for the report. Maybe I should move the PRG code to generate the cursor into the FRX. Is that the best way?
>
>Thanks for your help!
>Tim
>
--sb--