Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

dynamic footer

edited October 2003 in General
Hello

I have some information(3 regions) in the footer. I have several suports in
detail.
I would like in my first page, display only these 3 regions and in the
second page only the last region footer (not the two first ) and that the
subreport to go to the bottom of the region.

For the moment , I write an RAP to toggling visible (or not the two first
region) in the footer. But my footer have a static height. The subreports
stop until the begining of the first region in the footer not at the
begining of the last region.

Could you help me to indicate how I can create a dynamic height for my
footer or another solution for my problem?
Thanks a lot.

--

R?gine LEBRETON

JOUVE S.I.
Immeuble Hercule II
12, rue des Landelles
35510 Cesson-Sevigne
FRANCE

Tel: +33 (0)2 99 86 98 16
Fax: +33 (0)2 99 86 98 01
eMail: rlebreton@rennes.jouve.fr

The present email and all information included therein do not constitute a
legal agreement accorded by Jouve.
All legal agreements must be formulated in writing on paper by a legal
representative of JOUVE.
If you have received this email by mistake, please inform us of that fact
and destroy the email and any documents it might contain. Thank you for your
cooperation.

Comments

  • edited October 2003
    Hi Regine,

    The Footer band has a static height by definition. I would suggest trying
    to use a GroupFooter band and aligning it to the bottom of each page so you
    get the illusion of a page footer. Below is an example of how to align a
    group footer to the bottom of a page with a dynamic memo inside.

    http://www.digital-metaphors.com/tips/AlignMemoToBottom.zip

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    I try this solution but without succes. Because the number of information in
    my subreport are more important and the footer is not visible.
    I have another idea. Is it possible to use the height footer with a number?
    Small height for second and others pages and great height for the first
    page? How can I do?

    Thanks for your help.

    Regards
    R?gine

  • edited October 2003
    Hi Regine,

    Try this in the FooterBand.BeforePrint event.

    if Report.AbsolutePageNo = 1 then
    FooterBand.Height := 5
    else
    FooterBand.Height := 1;

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.