Sean said:
Hello, I would like to be able to sort my report by a
field other than the ones in my "sorting and grouping"
section. There I would like to group by those but not
sort. any ideas?
Grouping, by its very nature imposes a sort order. If you
want to sort by another field, then you must add that field
to the Sorting and Grouping list (it sound slike you want it
before the entries that have a group header/footer).
You can change the field that is used to sort by setting
properties of the appropriate GroupLevel in the report's
Open event procedure:
Me.GroupLevel(N).ControlSource = "somefieldname"
And you can effectively neutralize an existing group or sort
level by setting its control source to a constant
expression:
Me.GroupLevel(N).ControlSource = "=1"