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

invoice totals only on the last page

edited April 2003 in General
Hi,
I need to print an invoice with totals on the footer band, but only in
the last page.
Example: if the invoice is 1 page long the footer should be printed with the
totals (data) on it
if the invoice is longer than 1 page the footer should be
printed on the first pages with no totals (data), while in the last page it
should have both data and labels

Page 1 Page 2
********** HEADER ********** ********** HEADER **********
cust.no 180 invoice no 196 cust.no 180
invoice no 196
******** END HEADER ******* ******** END HEADER *******

********** DETAIL ********** ********** DETAIL **********
********** DETAIL ********** ********** DETAIL **********
********** DETAIL ********** ********** DETAIL **********
********** DETAIL ********** ********** DETAIL **********
********** DETAIL ********** ********** DETAIL **********
********** DETAIL ********** ********** DETAIL **********
********** DETAIL ********** ********** DETAIL **********
********** DETAIL ********** ********** DETAIL **********
********** DETAIL ********** ********** DETAIL **********

********** FOOTER ********** ********** FOOTER **********
Total invoice:
Total invoice: 150,00 $
****** END FOOTER ********* ****** END FOOTER *********

Comments

  • edited April 2003
    Marco,

    Try using a summary band (report | summary... menu option) for your invoice
    total. The summary band will always print at the end of the report. If
    this is not what you are looking for, try creating a group based on a static
    label and using the group footer to display the total.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2003
    Hi Nico,

    I need the band to behave just like the footer band, so to be printed at the
    ** bottom ** of the page and after the summary band, because in the summary
    there are many subreports that have to be printed after the detail. I tried
    to use a group footer but it always print before the summary band.
    Any help?

    Thanks
    Marco.


  • edited May 2003
    Marco,

    Your best bet would be to create a group, based on a static label, around
    the detail band and place all your current summary band contents into the
    group footer. Now you will essentially have two summary bands (i.e. the
    group footer and the actuall summary band). You can then set the print
    position of the summary band to appear at the bottom of the last page and
    place the information you need inside.

    --
    Best Regards,

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