Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmaticaly Goto Page in report preview
Message
De
21/09/1999 05:55:16
Peter Walburn
Omega Data Services Ltd
Aberdeen, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00265786
Message ID:
00266993
Vues:
21
>>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
Fil
Voir

Click here to load this message in the networking platform