I have amended the purchase order print to include a roundloop body section that takes up about 75% of the available space space between the header and the footer sections. I have several body sections for the roundloop dataitem, of varying heights. Different body sections are printed according to the type of order and line type. This is all controlled in the OnPreSection trigger.
If I print an order with the largest roundloop body section (and no other types), I get a 2 page print. The first page contains no roundloop body sections (is blank except for the header) and the second contains the intended section.
If I reduce the height of one of the other body sections, that isnt being printed, the problem disappears. It is as if the print procedure adds up the heights of all of the body sections for a dataitem when calculating whether it needs to start a new page.
I have had to squeeze the sections heights to the minimum to avoid blank pages but the results look cramped. Is there a way to avoid this effect ?
Thanks in anticipation
Bob
0
Answers
What do you mean by large body section by height or width?
Can you show us the screenshot of sections?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Here is a screen shot of all the body sections, plus the SubConProcDescCnt indented dataitem that sometimes gets printed, depending on the body section type. The report also has a page loop header and footer and a roundloop transfooter, which prevents the roundloop body sections from printing over the preprinted totals sections.
Thanks for taking an interest.
Check KeepWithNext property of sections of roundloop body..it tries to print all sections together..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I am not using KeepWithNext.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thank you Mohana.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav