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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Page size was not large enough to format the contents of an object" 3

Status
Not open for further replies.

ErickTheRed

Programmer
Jul 18, 2001
4
CA
I have several Crystal Reports that I am converting from Version 6.0.1.135 to Version 8.0.0.441. On several of the Reports I recieved the following error when I tried to run the report to the last page of the report...

"The page size was not large enough to format the contents of an object in the report"

Each of the problem reports have subreports. After changing the fonts, resizing the objects in the subreports, and resizing some of the subreports, many of the problem reports were fixed. I still have a few reports that insist on giving me this error... Has any one else encountered this, and is there perhaps something I am missing here? Any help would be greatly appreciated. Thanks in Advance... Erick
 
I have seen it on one of our reports that contain numerous subreports--and it only happened when the subreport header and detail crossed pages. That is to say the subreport rendered when there was only room enough for one more line on the main report and printed the header on that page and tried to the details on the next. If we manually typed the next page number after in the viewer we received the error. But if we typed in the next page+1 we could see the details.

I don't know the fix since we had only occurance and never really researched how or why. I'd be interested in any resolution...


Mark
 
I have run into this before. In one case, printing to one printer produced the error but another printer did not. I agree that it has something to do with a subreport not having enough room to print some object unbroken. This occurred recently when I complicated an existing subreport by adding a table. When I got rid of the new table and placed it in a separate subreport in a section just below the first, the problem disappeared. Keep simplifying until it works.

 
Hi again! I found out my problem! It turns out that it has something to do with the Underlaying of sections in the subreport! There is an article in the Crystal Decision's database: c2009074 that relates to this... apparently it is a known problem...
In my case all I had to do was uncheck the offending section to be underlayed...

Hope this helps someone else as well! Erick.
 
Hi!
This might be abit late to reply but Erick's tip works! Just uncheck the Underlaying option in all Subreports and the report will generate just fine!
Thanks for the Tip!
 
I use Crystal Report 9.0 on Window 2000.

It seems that those checkboxes available cause the same error (Especially when your report contains subreport):

"The page size was not large enough to format the contents of an object in the report"

Sometimes, use of the following checkboxes on subreport create the error message:
(1) "Suppress Blank Subreport"
(2) "Can Grow"

Somestime, use of the following checkboxes on section create the error message
(1) "Suppress Blank Section"
(2) "Can Grow"
(3) "Underlay Following Sections"

It may be the bugs of crystal report.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top