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

Summary Label

edited March 2002 in General
Hallo I've this problem:

I print some labels from a resultset of a query of database of Orders
I print n labesl for each record setting dinamically the property of the
DetailBand "BandsPerRecord"..
Now I've to print one label at the end of each Order for a summary
How can I do?

Excuse Me for my bad english!

Raf.

Comments

  • edited March 2002
    Check Report.Detailband.BandsPerRecordCount in the BeforePrint event of the
    detail band. This way you can set the visibility of the label, and set its
    caption.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited March 2002
    Ahh.....No...Excuse me!!

    For Labels I not Mean the component TLabel or TppLabel but
    the labels that I print with the LabelPrinter.

    RAf


  • edited March 2002
    You should be able to create a group based on the Order # and use a
    GroupFooter for your summary.

  • edited March 2002
    Sorry, I misunderstood.

    You're right Darryl, the group footer will do the trick.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited March 2002
    ..but my DetailBand has the size like the page..there's no space for the
    GrupFooter.

    Raf



  • edited March 2002
    Yes, the group footer will need to be the size of a label. This should be
    the same size as the detail band. Now, when the group footer prints, it
    will print summary information in the label immediately follwing the last
    detail label. Is this what you mean? Feel free to email me an image or
    illustration of how you would like the report to appear to
    support@digital-metaphors.com

    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited March 2002
    OK ...now I think that I understood.. if I've problem I write you..Thanks


This discussion has been closed.