Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report mysteriously changes source cursor in mid-report
Message
 
 
To
07/11/2002 10:48:45
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00719823
Message ID:
00719828
Views:
12
This message has been marked as the solution to the initial question of the thread.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform