I'm using Access 97.
In a report I want to group by "AccessionNo" (an expression joining two fields in the underlying query), but not sort on this. The sorting is needed on "EventDate" (another expression in a text box on the report combining the min and max EventDate values). AccessionItems have variable numbers of EventDates, and the order they appear on the report should be chronological. I can get them to sort beautifully by AccessionNo, or by EventDate, but never with both. I only want each AccessionNo to appear once.
If I group on EventDate first, every date shows, followed by its AccessionNo (frequently multiples). If I group first on AccessioNo I can't get them into chronological order.
The report draws other material from four tables.
I'm not at all literate in programming or even writing expressions, so please be tolerant.
In a report I want to group by "AccessionNo" (an expression joining two fields in the underlying query), but not sort on this. The sorting is needed on "EventDate" (another expression in a text box on the report combining the min and max EventDate values). AccessionItems have variable numbers of EventDates, and the order they appear on the report should be chronological. I can get them to sort beautifully by AccessionNo, or by EventDate, but never with both. I only want each AccessionNo to appear once.
If I group on EventDate first, every date shows, followed by its AccessionNo (frequently multiples). If I group first on AccessioNo I can't get them into chronological order.
The report draws other material from four tables.
I'm not at all literate in programming or even writing expressions, so please be tolerant.