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

Creating a summary band in code

edited January 2004 in General
Hi !

When coding a report, I get an AV when acessing the summary band properties.
Seems the summary band needs a create. Could you give a short code example
of how to do this ?

TIA, Regards

Heiko Knuettel

Comments

  • edited January 2004
    Hi Heiko,

    Try this...

    var
    lSummaryBand: TppSummaryBand;
    begin
    lSummaryBand := TppSummaryBand.Create(Self);
    lSummaryBand.Report := ppReport1;

    myLabel.Band := lSummaryBand;
    end;


    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2004
    Thanks a lot !

    Cheers,

    Heiko Knuettel
This discussion has been closed.