Groups in Reportbuilder 9/Delphi 7
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"
******************************************
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"
******************************************
This discussion has been closed.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com