Fill MasterData Band
Hi All,
I'm using FR Por for printing an invoice.
In MasterData, connected with a dataset, I show:
Code | Description | Price
After MasterData Band, I have a PageFooter.
If my Dataset has only 3 records (es.), I would like to have my ' | ' fills the entire MasterData Band and not only for the 3 records.
There's a way to have my page filled and not blank?
Thanks,
Flavio
I'm using FR Por for printing an invoice.
In MasterData, connected with a dataset, I show:
Code | Description | Price
After MasterData Band, I have a PageFooter.
If my Dataset has only 3 records (es.), I would like to have my ' | ' fills the entire MasterData Band and not only for the 3 records.
There's a way to have my page filled and not blank?
Thanks,
Flavio
Comments
the second way is to duplicate the memos of the mdband in an unattached child band.
write code in the obp event of the footer to check the engine.freespace - the footer height divided by the child band height
then in a loop call engine.showband(childbandname);
I have used some tips to solve my problem but it don't works well.
So, this is my case:
structure of my page is:
PageHeader Band
MasterData
PageFooter
after MasterData I have added a ChildBand not binded whit others band.
I MasterData.OnAfterPrint I have added this code:
while engine.freespace > Child1.height do
begin
engine.showband(Child1);
end;
this works if I have ONLY 1 record in Masterdata.
If, es., I have 3 record in MasterData, as result, in preview, I have 3 Pages with one record for page.
Any idea?
Thanks, Flavio
also
while engine.freespace > Child1.height + pagefooter.height do
this sounds like the tfrx report report component connected to a data set that causes the above to happen.
rather than the masterdataband being connected to the dataset.
the pdf file does not help as i cant see connections or events.