Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmaticaly Goto Page in report preview
Message
From
21/09/1999 05:55:16
Peter Walburn
Omega Data Services Ltd
Aberdeen, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00265786
Message ID:
00266993
Views:
20
>>Hi,
>>
>>I would like to know if it is possible to programmatically perform a Goto Page operation in a Report Preview. I have created my own toolbar to use in a Preview, but have not managed to get a Goto Page utton to work yet.
>>
>>Any help is much appreciated.
>>
>>Pete
>
>Yes, run the report to a file noconsole first and capture the value of _pageno.
>
>report form myform to myfile.txt noconsole
>lnpages=_pageno

Sorry, but that just gives me the number of pages in the report. I alredy have this value. The question was: Can I go to a specific page of the report programmatically? ie. I want to press a button and have the user enter a page number and then make the report display that page. I know I could do it by doing a KEYBOARD {HOME} to go to the first page and then KEYBOARD {PGDN} for the required number of pages, but I was hoping that there might be a better way.

Pete
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform