Hi
You have not mentioned where this data originates.
The values in your list are actual data - and it bothers me to see "data" values used this way.
Hans has mentioned a lookup table and that will fix your current dilema - but i would suggest going back a step and maybe changeing how the original data is structured.
expand on Hans' table idea.
Add a numeric Key to the lookup table
You could use something like this - Its actually 2 tables in one
tblCODES
TC_KEY . . number . . autonumber? . . key to the record - so is key for both Code and Group
TC_CODE . . your code data . . eg Widowed (75-84)
TC_TCG_KEY . . this is the tricky bit . . this key points back to TC_KEY ( as key to the group data)
TC_GROUP . . . you Group data . .eg 'Alone 75-84'
I suspect that the total Codes and Groups is quite small - so displaying the table on the screen would allow you to populate it with all the data fairly easily.
using the above example data you could end up having . . columns dont work very well here . .
TC_KEY . .TC_CODE . . TC_TCG_KEY . .TC_GROUP
. . .
1 . . . . . . . Widowed (85+) . . . . 1 . . . . . . . Alone 85+
2 . . . . . . . Divorced (85+) . . . . . .1 . . . . . . Alone 75-84
3 . . . . . . . Single (85+) . . . . . . . .1 . . . . . . .Alone 65-74
4 . . . . . . . Widowed (75-84) . . . . 2 . . . . .Alone 55-64
5 . . . . . . . Divorced (75-84) . . .. .2 . . . .. . . Alone 45-54
6 . . . . . . . Single (75-84) . . . . . . 2 . . . . . . Alone 35-44
so if yo look at the last record.
Code . . Single (75-84) has a key of 6 . .and a grouk key of 2 which is an foreign key pointer to the group in row 2 . which is
Alone 75-84.
the alternative is to have 2 tables . . one for codes and one for groups.
the table Hans proposed is actually like the one above - but without the number (key) columns and TC_CODE would be the key.
and would look like this . .
TC_CODE . . . . . .TC_GROUP
. . .
Widowed (85+) . . . Alone 85+
Divorced (85+) . . . .Alone 85+
Single (85+) . . . . . . Alone 85+
Widowed (75-84) . . Alone 75-84
Divorced (75-84) . . . Alone 75-84..
Single (75-84) . . . . . Alone 75-84.
Some food for thought . .
cheers
PaulG