Do you have a grid on the form that is calling the report? If so, programmatically take focus off the grid and put it somewhere else before running the report.
Cathy
>Hi,
>
>I am using a report with a cursor extracted from a query. As the cursor doesn't exist exept in runtime, I cannot add it to the data environment of the report.
>
>I select the cursor before I run the report, and it works well. However, when I resize the preview window, the program jumps to another existing table. As the table now is not the current table, I have problems displaying the report properly.
>
>How can I get around this? How can I get the correct cursor to remain the current cursor?
>
>Steven