Subform for Subform
I have 2 tables I would like to create a data entry form for, but I'm not sure of the best way to go about this. I thought I would be able to have a Master Form with a Subform and a button on the Subform that opens another form, but the information entered in the secondary form doesn't save. Is there a better way to go about this that would not require me to get into SQL coding?
The forms I have are:
Container
PO
Item
Container_ID is the primary key for the Container table that links to the PO table.
PO_ID is the primary key for the PO table that links to the Item table.
Item_ID is the primary for the Item table, but that doesn't link anything.
I included the Container_ID on the Item table because I thought it might be necessary. However, I can't use that as a link to the Container table because the items are determined by the PO and there could be multiple PO numbers on a single container. Hopefully that makes sense.
So I had tried to make a Container Master form with a PO subform and a button on the subform that opened an Items form where the items could be entered depending upon the PO. As I said that didn't work out. I also thought about have a linked form from the subform, but I don't know how to make those outside of the Form Wizard.