I am working on a report for a customer and they are complaining that the page is breaking in such a way that some detail lines are being seperated from header lines. Is there any way that i can control when the page breaks?
That is quite difficult.
If you want to control it, you have to control the complete layout.
It is easier to reprint the header-record on the new page.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
IF NumberOfDetailLines > LinesRemainingOnPage then begin
LinesRemainingOnPage := TotalLinesPerPage;
Currreport.newpage;
Not pretty, but duable. HOWEVER what happens, if the number of details lines are greater than the number of lines on a page???
How about using a TransHeader / TransFooter - this will allow you to add a line on the top of each page, that tells them what 'master' record you are on. i.e. "Customer 10000 - The Cannon Group, continued..."[/code]
Comments
If you want to control it, you have to control the complete layout.
It is easier to reprint the header-record on the new page.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Then, on after GetRecord do a:
Not pretty, but duable. HOWEVER what happens, if the number of details lines are greater than the number of lines on a page???
How about using a TransHeader / TransFooter - this will allow you to add a line on the top of each page, that tells them what 'master' record you are on. i.e. "Customer 10000 - The Cannon Group, continued..."[/code]
Henrik Helgesen,
President | Helgesen Consulting
about.me | LinkedIN