Does someone actually type in "21-03 Floodlights"? Or is it selected from a dropdown box? The list that's behind the dropdownbox code could be stored in a table, and the table would become the source of the dropdown. That's the task type table I was talking about.
Make a new table. Give it two fields, the keys to the two tables. That's it. It's literally that simple.
If you wanted to store other information about that relationship, notes, or whatever, you add them to the record, and you make sure the junction record has a unique key of its own.
Suppose you had a table of owners and a table of pets. You might create a junction table called tblPetOwners to relate who owned which pet.
Code:
tblPetOwners
OwnerID
PetID
That's all that's absolutely necessary to say who owns what. On the other hand, if you wanted to track adoption date and other deatils about the relationship, then I recommend the record get a unique id:
Code:
tblPetOwners
PetownerPK Autokey
OwnerID
PetID
AdoptionDate
If you want to list the owners and the pets, you join the three tables
Code:
SELECT
tblOwners.OwnerName,
tblPets.PetName,
tblPetOwners.AdoptionDate
FROM
(tblOwners
INNER JOIN
tblPetOwners
ON tblOwners.OwnerID = tblPetOwners.OwnerID)
INNER JOIN
tlbPets
ON tblPets.PetID = tblPetOwners.PetID;