Help me somebody, please
I can't solve the following problem:
In my report exists Summary band, but in some cases i have:
page1
detail1
detail2
......
detail7 (for example number)
page2
summary (alone)
i need :
page1
detail1
detail2
......
detail6
page2
detail7
summary
In standart Quick Report any band have property LinkBand for solving this
problem, but how can i solve one in ReportBuilder?
In my report exists Summary band, but in some cases i have:
page1
detail1
detail2
......
detail7 (for example number)
page2
summary (alone)
i need :
page1
detail1
detail2
......
detail6
page2
detail7
summary
In standart Quick Report any band have property LinkBand for solving this
problem, but how can i solve one in ReportBuilder?
This discussion has been closed.
Comments
Try using the TppDetailBand.PrintCount to control how many detail records
are printed per page.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
each of them and calculate PrintCount value for lastpage?
May be you can give me sample algorithm for solving problem? Certainly
somebody solved problem.
You could use the Report.OnStartPage event to check what page the report is
on, then perhaps using a case statement define how many detail records you
would like on each page. Something like the following...
procedure TForm.ppReport1StartPage(Sender: TObject);
begin
case ppReport1.AbsolutePageNo of
1: ppDetailBand1.PrintCount := 3;
2: ppDetailBand1.PrintCount := 4;
3: ppDetailBand1.PrintCount := 5;
4: ppDetailBand1.PrintCount := 6;
5: ppDetailBand1.PrintCount := 7;
6: ppDetailBand1.PrintCount := 8;
end;
end;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com