Versions des environnements
I think i could find the solution.
I created a parameter field and a formula field and i send my starting page number to the parameter field, in the formula field i calculate {?startpage}+PageNumber and i show it as my page number. To get the new starting page for the folowing report i run the report setting the report viewer invisible and go to last page(.showlastpage) then i get the page number (.GetCurrentPageNumber).
It seems to work.
Tahnk's
>That's exactly want i want to do.After printing the report get the last page number and save it.
>
>I just found that the report object has a collection...oReport.DataDefinition.FormulaFields....if, in your first report, you create a formula that simply returns the page count, perhaps you can evaluate that formula, get the page count, and use that for your second report. I'm going to try it out to see if it works.
>
>Kevin
Précédent
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