Do you have grids on the form? Make sure, the focus is not on the grid while running the report.
>I have a report that changes cusrors in the middle of the report. The correct cursor is Selected and then a Go Top is issued. Then, I have a messagebox popup to tell me the Alias() before the report starts and another on for after the report is exited. These return different aliases. When the report begins, it gets enough records from the correct cursor to make two pages. In the statusbar, I can see that the wrong cursor is already active. I can click on the toolbar to move to the second page and that does fine, although there should be 3 more pages. When I click on the toolbar to go back one page, the report is "reconstructed" from the wrong cursor, which contains only two records and now the report is only 1 page in length.
>
>Does anyone have any idea how this is possible? What can I do to debug and find where this cursor is changing?
>
>I hope I have clearly described my problem, but if not let me know and I will try to explain further.
>
>
>Thanks in advance for any help!
>
>Don
If it's not broken, fix it until it is.
My Blog