Print page 2 to last page
Posted: Wed Jan 16, 2013 10:49 am
Hello,
I have a report with many pages.
The first page (Page0), is a page to count each databand in the nexts pages.
On this page, I activate (or not) the next pages :
End renderer of the page 0 :
I can't hide the Page0 with the enabled properties because it occurs a bug with the differents PageHanderBand of the report.
So, I try to print only the second page of the report to the last page.
I don't wand to print the first page, but it must be enabled.
Is there a way to do that with the print event in the report events ?
Something like "PrintToPrinter(ByVal nCopies As Integer, ByVal collated As Boolean, ByVal startPageN As Integer, ByVal endPageN As Integer)" in VB.net
I have a report with many pages.
The first page (Page0), is a page to count each databand in the nexts pages.
On this page, I activate (or not) the next pages :
End renderer of the page 0 :
Code: Select all
if (Count(DataBand13)==0)
{
Page1.Enabled=false;
}
if (Count(DataBand14)==0)
{
Page2.Enabled=false;
}
etc.
So, I try to print only the second page of the report to the last page.
I don't wand to print the first page, but it must be enabled.
Is there a way to do that with the print event in the report events ?
Something like "PrintToPrinter(ByVal nCopies As Integer, ByVal collated As Boolean, ByVal startPageN As Integer, ByVal endPageN As Integer)" in VB.net