Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change page number
Message
From
10/09/2005 21:39:42
 
 
General information
Forum:
ASP.NET
Category:
Reporting
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01048382
Message ID:
01048489
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform