Band show only on first page
Hi every one,
I have a problem, i need a band that can be show only in the first page just before the pagefooter, im allready using the ColumnFooter but i dont know how to hide that band on next pages.
Before that ColumnFooter i have a MasterData band...on the fisrt page everything is good...my Data band show a few records then the ColumnFooter and the page footer...but in the next page i need that ColumnFooter not be there more..if i use the Visible property i got blank space that reduce the page space to show data..i was trying to modify the Height of my ColumnFooter band..but im still cant solve this....
I really apreciate any help, im using Fast Report 4.8.49
I have a problem, i need a band that can be show only in the first page just before the pagefooter, im allready using the ColumnFooter but i dont know how to hide that band on next pages.
Before that ColumnFooter i have a MasterData band...on the fisrt page everything is good...my Data band show a few records then the ColumnFooter and the page footer...but in the next page i need that ColumnFooter not be there more..if i use the Visible property i got blank space that reduce the page space to show data..i was trying to modify the Height of my ColumnFooter band..but im still cant solve this....
I really apreciate any help, im using Fast Report 4.8.49
Comments
instead of a column footer use an unattached childband
and write code to use the engine.showband(bandname) method in the oap event of the
masterdata band.
ie..
if (<line#>= 5) and (<page> =1) then engine.showband(childbandname);
begin
TFrxBand(sender).visible := false; // as this is done AFTER the 1st print, it won't print again
end;
Thanks a lot