V
vbnetman via AccessMonster.com
A portion of my db deals with parts and what they fit. For example, one piece
of equipment can have many parts and more than one piece of equipment can
have the same part, an oil filter for example. I’ve arranged a junction table
to handle this.
I have 3 tables:
TblUnits – unitId is PK
TblParts – partNo is PK
TblFits(junction table) – field refUnitId is FK to TblUnits
Field refPartNo is FK to Parts
On my form, a user may select a unit from the units table, associate a part
with it from the parts table and both selections go into the fits table. I’m
using a listbox for the parts table and the fits table. How do I get
selections (unitId and PartNo) into the fits table? Seems like I need an
append query although I’m not sure about how to proceed from here. Can
someone jump in and assist?
vb
of equipment can have many parts and more than one piece of equipment can
have the same part, an oil filter for example. I’ve arranged a junction table
to handle this.
I have 3 tables:
TblUnits – unitId is PK
TblParts – partNo is PK
TblFits(junction table) – field refUnitId is FK to TblUnits
Field refPartNo is FK to Parts
On my form, a user may select a unit from the units table, associate a part
with it from the parts table and both selections go into the fits table. I’m
using a listbox for the parts table and the fits table. How do I get
selections (unitId and PartNo) into the fits table? Seems like I need an
append query although I’m not sure about how to proceed from here. Can
someone jump in and assist?
vb