I
Ivor Williams
This is a tough one for me, sorry if I get long winded.
I have a table tblProjects with key field ProjID. I have another table
tblEquip with key field EquipID. A third table tblPoints has a key field
PointID. A fourth table tblEquipPoints has key field EquipPointID and
includes lookup fields from tblEquip and tblPoints, so I can choose a piece
of equipment, then choose a point to associate with that piece of equipment.
I've created a form frmEquip with a subform sfrEquipPoints. The form and
subform are linked using EquipID. On the form I choose a piece of equipment,
and all the points for the chosen piece of equipment are displayed in the
subform as expected.
What I want to do is add a "top layer" to the form hierarchy so that I have
a form with a subform, and a subform within the subform. In the main form, I
would choose a project, in the subform I would choose a piece of equipment,
in the subform within the subform, all the points associated with the chosen
piece of equipment would be displayed.
I can make all this work fine, the problem I'm having is this. When all the
points for a piece of equipment are displayed, of course they are coming
from the tblPoints table which has no provision for entering a quantity, nor
should it have. On this subform, I want to enter a quantity next to the
point and have it saved with this piece of equipment on this project. I
would rather not have to choose each point individually, the best would be
if they are all displayed as they are now so none get missed. Not only that,
data entry would be less time consuming.
There are too many levels here, and I'm getting confused. Can someone point
me in the right direction, please.
Ivor
I have a table tblProjects with key field ProjID. I have another table
tblEquip with key field EquipID. A third table tblPoints has a key field
PointID. A fourth table tblEquipPoints has key field EquipPointID and
includes lookup fields from tblEquip and tblPoints, so I can choose a piece
of equipment, then choose a point to associate with that piece of equipment.
I've created a form frmEquip with a subform sfrEquipPoints. The form and
subform are linked using EquipID. On the form I choose a piece of equipment,
and all the points for the chosen piece of equipment are displayed in the
subform as expected.
What I want to do is add a "top layer" to the form hierarchy so that I have
a form with a subform, and a subform within the subform. In the main form, I
would choose a project, in the subform I would choose a piece of equipment,
in the subform within the subform, all the points associated with the chosen
piece of equipment would be displayed.
I can make all this work fine, the problem I'm having is this. When all the
points for a piece of equipment are displayed, of course they are coming
from the tblPoints table which has no provision for entering a quantity, nor
should it have. On this subform, I want to enter a quantity next to the
point and have it saved with this piece of equipment on this project. I
would rather not have to choose each point individually, the best would be
if they are all displayed as they are now so none get missed. Not only that,
data entry would be less time consuming.
There are too many levels here, and I'm getting confused. Can someone point
me in the right direction, please.
Ivor