just when i think i've got something figured out, something like this comes along and shows me how much i've still got to learn.
i've got another many-to-many problem. here's the tables and some background:
tblEquipment(PK = EquipID)
tblChemical (PK = ChemicalID)
tblReg (PK = RegID)
one piece of equipment can have many chemicals in it.
one chemical can be located in many pieces of equipment.
one reg can apply to many pieces of equipment.
i'd like to set up an entry form where the user first selects the piece of equipment and then populates as many chemicals that are present in that piece of equipment, and then populates all of the regs that apply to that piece of equipment.
right now i have created 3 queries (one for each table) to populate each table (the parents).
i've set up a join table (tblEquipRecords) with the PK's from tblEquipment, tblChemical, and tblReg, but something doesn't make sense. i think this is wrong. how can i have many chemicals associated with one piece of equipment when in the junction table i'm associating each piece of equipment with a particular chemical. do i need multiple join tables?
any help y'all could give this poor lost soul would be extremely appreciated.
thanks everyone.
i've got another many-to-many problem. here's the tables and some background:
tblEquipment(PK = EquipID)
tblChemical (PK = ChemicalID)
tblReg (PK = RegID)
one piece of equipment can have many chemicals in it.
one chemical can be located in many pieces of equipment.
one reg can apply to many pieces of equipment.
i'd like to set up an entry form where the user first selects the piece of equipment and then populates as many chemicals that are present in that piece of equipment, and then populates all of the regs that apply to that piece of equipment.
right now i have created 3 queries (one for each table) to populate each table (the parents).
i've set up a join table (tblEquipRecords) with the PK's from tblEquipment, tblChemical, and tblReg, but something doesn't make sense. i think this is wrong. how can i have many chemicals associated with one piece of equipment when in the junction table i'm associating each piece of equipment with a particular chemical. do i need multiple join tables?
any help y'all could give this poor lost soul would be extremely appreciated.
thanks everyone.