I have a table Category (Dictionary) => CatCode (Text) + CatName (Text).
The catCode is text (CatA, catB,catC,...), not a number.
I have a table Item with a field type "Relationship" to Category (called id_Category).
I have a form to edit Item with a combobox to choose category.
This form have a button executing an SQL query displaying the count of item existing of the choosen category.
select count(*) from item i where i.id_Category = '{CbCategory}"
As you can see, "CatA" will never match an index value.
I can of course add an id field in the Category table. Maybe it's the only solution.