Title
Printing Sub Summary Records on the Same Page Revisited
Post
With thanks to PhilModJunk's suggestion in Shrinking fields within a portal and shrinking portal for printing (thank you!), I was able to create a layout which allows me to reduce the section size needed depending on the number of rows needed for a portal. Overly simplified, I created this basic layout:
(PART) Sub Summary by Main::Company (Leading)
Company
(PART) Body
Contact
Contact
Contact
(PART) Sub Summary by Main::Company (Trailing)
Notes
--------------
Since the number of contacts and the amount of text in the "notes" field varies, I can have anywhere from two-five records on a page. Unfortunately, records are getting split over pages: for example, I could have the company (Leading Sub Summary) and contacts (Body) on one page, and the corresponding notes (Trailing Sub Summary) on the next.
Is there any way around this without resorting to one record per page?
If there are no sliding fields used in your layout, it's possible, but takes a fair amount of work to set up.
You have to add in another sub summary part and sorting on a second "page" field with a script or possibly some calculation fields that use the number of records in each group to compute cases where a page break needs to be forced to keep as much of your group of records with sub summary parts on one page as possible.