I'm trying to create a report (an invoice, actually) in Access that sorts by one field, then groups by another. However, Access is also creating a group footer section whenever the sort field changes. I'm not sure if I'm doing something wrong or if this is by design.
In the example below I want to group on "Group" but first sort by UnitPrice. This is what I want it to look like:
Product Unit Price Group ------- ---------- ----- Product 1 0.70 Group 1 Product 2 0.71 Group 1 Product 3 0.72 Group 1 --- Group Footer --- Product 4 0.80 Group 2 Product 5 0.80 Group 2 --- Group Footer --- Product 6 0.98 Group 1 Product 7 0.98 Group 1 Product 8 0.98 Group 1 --- Group Footer ---
but what I'm getting is this:
Product Unit Price Group ------- ---------- ----- Product 1 0.70 Group 1 --- Group Footer --- Product 2 0.71 Group 1 --- Group Footer --- Product 3 0.72 Group 1 --- Group Footer --- Product 4 0.80 Group 2 Product 5 0.80 Group 2 --- Group Footer --- Product 6 0.98 Group 1 Product 7 0.98 Group 1 Product 8 0.98 Group 1 --- Group Footer ---
Any ideas why Access insists on creating a group footer when the field I'm grouping on hasn't changed?
Because products in group 1 have varying prices, I can't group first and sort second. The priority is to sort on UnitPrice.
Thanks in advance for any help!
P.S. I have a stripped-down .accdb example but I don't seem to be able to attach it to this post, if anyone would like to see it.