Hi
You have several options here.
Option 1. You could change your query so that you identify the group
header as a separate column. You would probably do this using a
temporary table to identify the departments salartys that will be in
the group header and then using another temporary table to identify
the detail lines, and then join them all together at the end.
ie. your query results would be something like this:
Department Employee Salary Department Group Department
Group Salary
Account William 60000 Jane
70000
Account Smith 45000 Jane
70000
Option 2
Another option would be to identify the grouping record in your query
and then hide that detail row using a formula in the hidden/visbility
properities of the row:
ie
Department Employee Salary MaxmiumDeptSalary
Account Jane 70000 0
Account William 60000 0
Account Smith 45000 1
=IIF(Fields!MaximumDeptSalary =1,True,False)
Hope that helps.
Cheers
Simon