We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Same data on multiple pages with Crystal Report 8.0

Kermiche
Kermiche asked
on
Medium Priority
271 Views
Last Modified: 2012-05-05
Hi everybody :

I have a report with Crystal Report 8.0 : a main report and 5 sub-reports. The sub-reports are linked to to main by a column retrived through my query against an Oracle DB.
My issue is that the same data are displayer on 7 pages for 1 main report record!!

Any suggestions

Thanks
Comment
Watch Question

CERTIFIED EXPERT

Commented:
hmm... possbily simple? we'll see in a moment if it's just the subreport default formatting settings, which impacts their size, etc... From the main report design view, <right><click> on each sub report and choose<format subreport> and then:
1) un-check the <keep object together> checkbox on the <common> tab - this allows a page break in the middle of the sub-report if needed, so that they will not each start a new page even if it's too big to fit all of the data onto the existing page...
2) you can also confirm that <can grow> is checked on, and then after you have said <OK> and return to the main report design view... you can now size the sub-reports to be quite small in height, and becuase of the <can grow> they will still provide enough rows to show all of your data
hope that helps :)

Commented:
>> My issue is that the same data are displayer on 7 pages for 1 main report record!!

Kermiche, I am not quite understand your problem, could you pls explain further with some example?
I guess there must be some linking problem between your main repot and subreport, remember to check the "Select subreport data base on field" option.

Dylan

Author

Commented:
Thanks Dylan for the suggestion. It works now but ... only for one page, when i move to the second (a new page) it pops up to me "the page size was not large enough to format the contents of an object in the report" error.

PS. I put the PAGE FOOTER, REPORT FOOTER as well as the GROUP FOOTER to "supress"

It's a bit urgent ...

Thanks

Commented:
in that case, is PATKIRSCH's suggestion work? that uncheck the keep together for subreport...

dylan

Author

Commented:
I did that for all my subreports, but to move from a page to another I get the error I mentioned

Kerm

Author

Commented:
Also in the last subreport (section) I checked the NEW PAGE AFTER checkbox

Kerm

Commented:
Did you set your detail section to underlay the below sections? see this...
http://support.businessobjects.com/library/kbase/articles/c2013153.asp

dylan

Author

Commented:
Thanks dylan for your answer :
But no I didn't. However I checked the 'New Page After' in the detail section, Do I have to 'Suppress' this section to have the expected results ?

It seems that my 3 pages related to on group of data shows up fine but when I move to the next page (4) I got "the page size was not large enough to format the contents of an object in the report" error

Thanks in advance

Commented:
Hi Kerm, why did you checked "New page after" in the detail section? that means for every detail you will result on a new page...
If you uncheck the option, will it give you the error? just a testing.

dylan

Author

Commented:
I unchecked the 'New page After' in the detail section but I have the same problem
I checked the 'New Page After' in the Group Footer but I got the same result.

Any suggestions ?

Thks
Commented:
Hi !

I finally fixed the problem :
In the last sub-report I suppressed the Group Footer AND the Report Footer (...)

Thanks dylan for your support !

Kerm

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks PATKIRSCH also ...

Commented:
thats cool, glad you could figure out the problem.

dylan
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.