For printing information within VFP, I prefer to forget about the report's dataenvironment. That is, I erase everything in the dataenvironment, and prepare a cursor before running the report.
I am not sure how this will work with XFRX, which I don't use.
>Is there a way to access the scope passed to the report when running it?
>
>I have a report file that has a filter on the datatable, I also allow the user to provide additional filters which is then passed over when the report is run.
>
>I've using XFRX to print the report to a PDF and Word document. If the report is sent to the printer, all works fine. But with the PDF / Word documents the internal data environment filter isn't being applied to the report.
>
>Thanks,
>
>Dennis
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)