Custom Footer...

L

lupo666

Hi all,

I have been using an invoice report for a while and it works
flawlessly. Now, I would like to eliminate the only thing that annoys
me: the blank footer... Let me explain:

Since I need the total of the invoice (price, VAT, total...) only at
the bottom of the last page, I have used the [Page] / [Pages] to make
the footer fields (copies of the invisible totals in the end of the
report), visible or invisible accordingly...

Of course, the footer is always the same height and for pages not
being the last is empty, except for the page numbers...

Is there a way to have a custom footer for just the last page and
another one for the other pages, even thru coding?

Thank you in advance for any help you may provide...

Ciao, Lupo
 
M

Marshall Barton

lupo666 said:
I have been using an invoice report for a while and it works
flawlessly. Now, I would like to eliminate the only thing that annoys
me: the blank footer... Let me explain:

Since I need the total of the invoice (price, VAT, total...) only at
the bottom of the last page, I have used the [Page] / [Pages] to make
the footer fields (copies of the invisible totals in the end of the
report), visible or invisible accordingly...

Of course, the footer is always the same height and for pages not
being the last is empty, except for the page numbers...

Is there a way to have a custom footer for just the last page and
another one for the other pages, even thru coding?


In general, No.

With some major restrictions, you can get that effect by
using the detail section's Format event on the last detail
to change the height of the page footer and reset some of
its control's Top and Visible properties.

The big restrictions are that the detail section can not
grow and the amount you want to expand the page footer must
be less than or equal to the height of the detail section.
The situation would get even trickier if you are displaying
any group footers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top