General information
Category:
Reports & Report designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only