Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement