Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

Same data on multiple pages with Crystal Report 8.0

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
0
Kermiche
Asked:
Kermiche
  • 7
  • 5
1 Solution
 
PATKIRSCHCommented:
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 :)
0
 
dylanyeeCommented:
>> 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
0
 
KermicheAuthor 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
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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

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

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

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

dylan
0
 
KermicheAuthor 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
0
 
dylanyeeCommented:
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
0
 
KermicheAuthor 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
0
 
KermicheAuthor 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
0
 
KermicheAuthor Commented:
Thanks PATKIRSCH also ...
0
 
dylanyeeCommented:
thats cool, glad you could figure out the problem.

dylan
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 7
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now