PDA

Click to See Complete Forum and Search --> : Vb6 Datareport


ne23843
Jun 4th, 2008, 10:27 AM
I'm using VB6 SP6 under XP-Pro. I've got an app that has a dataenvironment and datareport in it. When i try to print a 2 page report using the rptrangeallpages it only prints the 1st page. if i do a preview and then click on the printer button, all pages report correctly. any ideas?

Hack
Jun 4th, 2008, 11:22 AM
Moved To Reporting

wes4dbt
Jun 4th, 2008, 05:34 PM
There is no problem with the Datareport1.Printreport method that I know of. I would expect it was something in your code. If you post the code I'll take a look at it. Also you don't need the "rptrangeallpages", if you want to print the entire report then all you need is .Printreport.