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

Crystal 9 Report Breaking Improperly

Status
Not open for further replies.

pamelarj

Programmer
Sep 8, 2005
14
US
I'm currently using Crystal 10 and I have a report with a parameter identified as 'Selection'. The selection parameter allows the user to select whether they want the report to be "SUMMARY", "DETAIL" or "BOTH"

The report has one Group (ironically referred to as Group ID) with a header of course (Header 1), and two additional headers (1b) and (1c).

Header 1, contains the summary information as well as the Group ID and has conditional suppression when the 'Selection' parameter = "DETAIL".

Header 1b contains the Group ID and has conditional suppression when the 'Selection' parameter <> "DETAIL"

Header 1c contains the detail column names and is has conditional suppression when the 'Selection' parameter = "SUMMARY"

Finally , the detail contains a sub report listing all members associated with the Group ID.

Aside from their conditional suppressions the three headers have the 'Free-Form Placement' and the 'Keep together' properties selected.

The problem is this: The report breaks after header 1c (before the detail) on the very first page of a new Group value (with the exception of the very first page of the report).
 
Right-click on a Group section. Choose Change Group and Options. Select [Keep Group Together].

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
The Groups' 'Keep Group Together' property is also set on the group as well as the 'Repeat Group Header on Each Page' property for all three headers
 
When you say the report "breaks" do you mean page break? Do you not want a page break? Is "keep together" checked for the detail section? You may not want this checked.

MrBill
 
Try selecting the subreport->format subreport->common-> and uncheck "Keep Object together".

-LB
 
Thank you all. lbass' suggestion of selecting the subreport>format subreport > common and unchecking the 'Keep Object togther' worked.!!!

You guys are the greatest.

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top