How can I show a Group Footer in each page?
Hello,
I have one report, using a 1 group, these group is checked to create a
new page when the group change.
My question is: how can I show the Group Footer in each page of group,
for example, I have 3 page for the same group, but the GroupFooter show
me only the last page, and I want to show in each page, when the group
changed create a new page.
How can I do these?
Best Regards
Fellipe H.
I have one report, using a 1 group, these group is checked to create a
new page when the group change.
My question is: how can I show the Group Footer in each page of group,
for example, I have 3 page for the same group, but the GroupFooter show
me only the last page, and I want to show in each page, when the group
changed create a new page.
How can I do these?
Best Regards
Fellipe H.
This discussion has been closed.
Comments
Take a look at the following rbWiki article.
http://www.digital-metaphors.com/rbWiki/Design/Groups/How_To...Display_a_Group_Footer_on_Every_Page
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
No, the example moves the actual drawcommands to a new position on a page.
You will need to move all objects individually (or in a loop) to preform a
task similar to the example.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I see the sample in the link, and I have one doubt: is in DrawGroupFooter
Its draw a New Footer in blank space, correct? but in my GroupFooter I
have many components, it's impossible to create one by one, there is a
code to copy all component from my GroupFooter to a new draw footer?
If a create a Region in my ppReport, if a Copy the region, all component
in these region is copy together?
Best Regards,
Fellipe H.
Nico Cizik (Digital Metaphors) escreveu:
Thanks
components... I thinking... if I create a Footer, the footer show me in
each page as default, right?
Ok, but my doubt is other now... I want to print the footer if Detail
count is 22... in other words... if count details in each page is 22
show me the footer, if not, not show footer...
How I do these?
Best Regards
Fellipe H.
Nico Cizik (Digital Metaphors) escreveu:
You can use the DetailBand.Count property to keep track of how many (detail)
bands have printed per page. Try using the AfterPrint event to check if 22
and toggle the visibility of the footer band.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I try these:
procedure TDM_Danfe.ppDetailBand3AfterPrint(Sender: TObject);
begin
if RelDanfe.DetailBand.Count = 22 then
ppFooterBand2.Visible := True;
end;
It works more less, now show me a empty space, not footer... whats I
doing wrong?
Best Regards
Fellipe H
Nico Cizik (Digital Metaphors) escreveu:
The footer band will reserve the space near the bottom of the page whether
it is visible or not. This is done before the report is printed to
determine how much space is available for the detail band(s) to print.
I would suggest you reconsider using the method described in the original
article I posted and manually creating the group footer drawcommands.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com