>My problem is that I have a ready finished program and
>I need to send new report to program users.
>
>I can only change the report. This is FoxPro for Windows report,
>so code cannot be attached. It is possible to call some external
>fxp from report, but this cannot change report control table.
>
>A big database is opened before report and filter are set to it.
>I am capable to change a report only or to call external fxps inside
>report.
Do I have to tell you the other half of the answer? You almost said it all. Just run this SQL from a .fxp which will be called somewhere early in a report (say, from a definition of a report variable which gets mentioned in the report header), and it may do all you need. Though, I've never tried changing workareas from within report (OK, I did, but always returned to the one the report was designed upon).