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!

VB6 DataReport error "Report width is larger than paper width"

Status
Not open for further replies.

Hiccup

Programmer
Jan 15, 2003
266
US
The VB6 DataReport feature is driving me NUTS! I see that the properties of the DataReport have "ReportWidth" and "Width" and I assume the the "Width" refers to the paper width.

I've tried various values for both of these fields and still get the message "Report width is larger than paper width" when I try to print the DataReport via a cmdButton click event.

Can someone explain what I need to do to these properties to get the DataReport to print? Is the "paper width" set somewhere else other than with the DataReport properties?

Also, since the VB6 DataReport width seems to be limited to about a width of 10 1/2 inches (and I need a 17-inch wide Report) is it possible to split the DataReport somehow into two parts that will both print out when a cmdButton is clicked? My users can scotch tape them together....just kidding, but it's workable to lay them out side-by-side to see the entire report. The report is created from the records of an Access2K mdb Table with several Fields so that it requires about a 17" report width.

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top