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

change Groups fieldname in runtime?

edited April 2003 in General
Hi!

[RBuilder Pro 7.02 + Delphi 7]

Is it possible to change the group fieldname before printing the report?

Something like:
ppreport1.groups[0].fieldname := 'AGE' (but *fieldname* is a read-only
property)

I want to group the the reports according to the current index of the table.
Is it possible?

Comments

  • edited April 2003
    Hi Santy,

    You will want to use the Group.BreakName property. Use BreakName to set the
    name of the field on which this group will be based. As the report is
    generated, a group break will occur each time the value of this field
    changes.

    --
    Best Regards,

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