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

How to not split group's content?

Status
Not open for further replies.

kurtka

Programmer
Apr 10, 2008
1
US
I have a report with master-detail data. Master data is in BEFORE slot of GROUP section, followed by SEQ section inside of CONTENT slot, which has 2 detail sub-reports. I am asked not to split the group, ie if entire master-detail set is not fitting onto a page, then I must start it on next page. I cannot figure out how to detect a split at GROUP level. I cannot put breaks between master-detail sets, since data is not that large as to call for a pagebreak between sets of data and we want to conserve space.
Master datastream
GROUP
BEFORE - Master labels and text controls
CONTENT - SeqSection
CONTENT - SubReport1, datastream1, labels, texts
CONTENT - SubReport2, datastream2, labels, texts


Customer
C1
Jobs
J1
J2
Hobbies
H1
H2
H3

Customer <--- if page ends below this line, then I need to
C2 detect it and print this customer data on next page
Jobs
J1
Hobbies
H1
H2



 
As far as can be determined, there is no way of automatically forcing a page break to keep Group Header an Data together. The only way, providing the Group/Data sections are always going to be the same height, is to make the flow height such that there is a fixed number of sections per page.
 
I always have to play with the Property Pagination to play with the page breaks. If you click on your Before Frame and look at the Pagination property play with 'No Split Bottom' and 'No Split Top' settings. This will give you some control over the splitting of your group data.

Norma Ramey
Maximo Analyst/Actuate Specialist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top