Here is the situation in an overly simplified version of what I need to do. I’m also still learning Access coming from other databases, so please be patient with me. Note: I have multiple version of Access I can use, so if the solution is in a newer version of access, just let me know and I’ll use that one. I try to code in Access 2007 since we MAY have a user or two still using it. But if I need to more to a later version, that is fine. On to the question…
There are 3 tables, a [PERSON] table, [CODE] table, [TRANSLATE] table. Each PERSON record is related to one (or more) CODE table records. There are 5 fields in there that all have alphanumeric codes in them. The codes are translated to ‘plain English’ in the TRANSLATE table.
So “PERSON A” may have the codes “A1”, “A2” (has this code twice), “B1” and “C1” in the CODES table.
Those codes are A1=”RUN”, A2=”JUMP”, B1=”SWIM”, and C1=”PLAY” in the TRANSLATE table.
Now, I want to have a form that shows these translations, in a single field, but I want to remove any duplicate translations. The other issue is that each person may have only values in code1 and code 3 and NULL for code2, code4, and code5.
So I need to figure out how to remove the duplicate codes (if they exist), translate them into the ‘plain English’ values and present them without any gaps.
Thanks for any input.