J
Jamie Risk
Long ago I learned that using somebody's surname to index a table was a bad
idea. My tables all have an autonumbered index which I use as a reference
whenever I link tables.
My problem then is when I create a report, one of the useful group headers
is somebodies surname. My data set recently included two people with the
last name so my report spilled out data for both people with the same last
surname. This in hindsight is quite expected. Instead I can group the
headers based on the Table_ID, so that each individual in the report gets
the information they need.
How do I sort a group header on data other than the group header? i.e. I
want to group by [Teacher].Teach_ID, but have the group sorted by
[Teacher].[Surname].
idea. My tables all have an autonumbered index which I use as a reference
whenever I link tables.
My problem then is when I create a report, one of the useful group headers
is somebodies surname. My data set recently included two people with the
last name so my report spilled out data for both people with the same last
surname. This in hindsight is quite expected. Instead I can group the
headers based on the Table_ID, so that each individual in the report gets
the information they need.
How do I sort a group header on data other than the group header? i.e. I
want to group by [Teacher].Teach_ID, but have the group sorted by
[Teacher].[Surname].