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

Groups in Reportbuilder 9/Delphi 7

edited March 2006 in General
Is there code where I can switch the groups in and out based on a checkbox?

If its checked, I want the report grouped by one fieldname, and if its not
checked I want it grouped based on another.

Any ideas on this? I don't want two groups at the same time.

--Brandie



--
******************************************
Brandie VanNort
Computer Services Administrator
Ebby Halliday, Realtors
Dallas, Texas
http://www.ebbyhalliday.com
Phil 4:13 "I can do all things through
Christ who strengthens me"
******************************************

Comments

  • edited March 2006
    Hi Brandie,

    Did you see my response to your earlier post?

    ----

    It is possible to change the BreakName of a group at runtime before the
    report prints. Something like the following...

    if MyCheckBox.Checked then
    ppReport.Groups[0].BreakName := 'MyField1'
    else
    ppReport.Groups[0].BreakName := 'MyField2';


    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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