Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vs.Net Print Last Page Only

Status
Not open for further replies.

Kliot

Programmer
Jan 10, 2003
622
US
I have a Vs.Net 2008 application that prints a report, I want to be able to print the last page only. I can print a range using StartPageN and EndPageN, is there a way to set it to only print the last page? I of course could use StartPageN and EndPageN but the lengh of the report varies.

Thanks
 
I don't think there is any way to know up front what the number of the last page of the report is going to be. I don't know whether this will work, but you might try giving StartPageN and EndPageN some number that you know is going to be higher than the number of pages on the report and see whether that will print the last page.

-Dell

DecisionFirst Technologies - Six-time SAP BusinessObjects Solution Partner of the Year
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top