E
Ed
I have a Equipment -to-Signals query with 3 tables:
tblEquipment
tblEquipTypes
tblEquipTypesSignals
EquipTypeID is in all three tables.
This is a many-to-many table arrangement. It creates a signal list based on
the number of equipment and the type of equipment. Some equipment types have
more signals than other types. This is a development system where the number
of signals per equipment type changes.
It works great! However, one equipment type (a motor) has 1800 signals. My
boss wants to divide this into several sub-equipment types but still list it
as one equipment. Signal maintenance would be troublesome if I have to go in
and change the same signal in many sub-equipment types. This motor has 49
sub-equipment (made up of 3 different types: 24 , 24, and 1).
How can I add an equipment type that may be made up of several signals or
may be made up of several equipment types?
SELECT tblEquipment.EquipName, tblEquipment.EquipTypeID,
tblEquipTypes.EquipType, tblEquipTypeSignals.EquipSignal
FROM (tblEquipTypes INNER JOIN tblEquipment ON tblEquipTypes.EquipTypeID =
tblEquipment.EquipTypeID) INNER JOIN tblEquipTypeSignals ON
tblEquipTypes.EquipTypeID = tblEquipTypeSignals.EquipTypeID;
Thanks,
ed
tblEquipment
tblEquipTypes
tblEquipTypesSignals
EquipTypeID is in all three tables.
This is a many-to-many table arrangement. It creates a signal list based on
the number of equipment and the type of equipment. Some equipment types have
more signals than other types. This is a development system where the number
of signals per equipment type changes.
It works great! However, one equipment type (a motor) has 1800 signals. My
boss wants to divide this into several sub-equipment types but still list it
as one equipment. Signal maintenance would be troublesome if I have to go in
and change the same signal in many sub-equipment types. This motor has 49
sub-equipment (made up of 3 different types: 24 , 24, and 1).
How can I add an equipment type that may be made up of several signals or
may be made up of several equipment types?
SELECT tblEquipment.EquipName, tblEquipment.EquipTypeID,
tblEquipTypes.EquipType, tblEquipTypeSignals.EquipSignal
FROM (tblEquipTypes INNER JOIN tblEquipment ON tblEquipTypes.EquipTypeID =
tblEquipment.EquipTypeID) INNER JOIN tblEquipTypeSignals ON
tblEquipTypes.EquipTypeID = tblEquipTypeSignals.EquipTypeID;
Thanks,
ed