I am in the process of creating a database component for the contractors allowed on location. The idea behind the end product will be allowing the user to select a work type (Electrical, Mechanical, Environmental, etc) and then display all the contractors of that type.
The part I am confused about is some of the contractors cover multiple work types (max of 5 types for one contractor). I am not sure the way to 1) put it in the database and 2) allow the search if the work types per supplier are in different columns. Below is my idea of how to set up the table for later use.
I understand the use of relationships and all but not sure how if someone searches for Mech it will return both 1 and 2 since Mech is the second type for the first contractor.
Hopefully that makes sense. I'm still new to Access and not confident enough yet to trust what I am thinking is actually correct and the time deadline I am under as well does not help my rational thinking.
The part I am confused about is some of the contractors cover multiple work types (max of 5 types for one contractor). I am not sure the way to 1) put it in the database and 2) allow the search if the work types per supplier are in different columns. Below is my idea of how to set up the table for later use.
I understand the use of relationships and all but not sure how if someone searches for Mech it will return both 1 and 2 since Mech is the second type for the first contractor.
Hopefully that makes sense. I'm still new to Access and not confident enough yet to trust what I am thinking is actually correct and the time deadline I am under as well does not help my rational thinking.
Code:
ContractorID Work1 Work2 etc
1 Elec Mech
2 Mech
etc
etc