Hi
Am slightly new to access and am working on some features in my db. What i am trying to do it to group a number of entries in a field under a genreic term so that my query returns all entries in the group rather than each on seperatly.
I currently have the tables set up like:
Tbl1
Formane - Surname - Unit
Jo - Bloggs - Unit 1
Jo - Bloggs - Unit 2
Jo - Bloggs - Unit 3
I have a query which brings in fields from another table as well as these using a 1 to Many relationship.
to select the unit i want to look at i have a combo box that contains that units, but this means i can only return all, Unit 1, Unit 2 or Unit 3.
What i want to do is adapt the combo box so that it groups Unit 1 and Unit 2 under 1 name such as Support and unit 3 under a different grouping.
I have seen something like this on another thread but cant find it again now, i believe it used a case statement to specify which entries fall under each heading but would appreaicte any advice on this one.
Dan
Am slightly new to access and am working on some features in my db. What i am trying to do it to group a number of entries in a field under a genreic term so that my query returns all entries in the group rather than each on seperatly.
I currently have the tables set up like:
Tbl1
Formane - Surname - Unit
Jo - Bloggs - Unit 1
Jo - Bloggs - Unit 2
Jo - Bloggs - Unit 3
I have a query which brings in fields from another table as well as these using a 1 to Many relationship.
to select the unit i want to look at i have a combo box that contains that units, but this means i can only return all, Unit 1, Unit 2 or Unit 3.
What i want to do is adapt the combo box so that it groups Unit 1 and Unit 2 under 1 name such as Support and unit 3 under a different grouping.
I have seen something like this on another thread but cant find it again now, i believe it used a case statement to specify which entries fall under each heading but would appreaicte any advice on this one.
Dan