Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change page number
Message
De
10/09/2005 21:39:42
 
 
À
10/09/2005 20:53:41
Information générale
Forum:
ASP.NET
Catégorie:
Rapports
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01048382
Message ID:
01048489
Vues:
17
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
Fil
Voir

Click here to load this message in the networking platform