change Groups fieldname in runtime?
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?
[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?
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com