Hi,
I'm working with Access 2007. I've designed a subform based on a junction table. The subform is not embedded on the main form. It's called from a command button on the main form. I put some VBA code in the command button that links the record, so that the main and subform show the same record.
My problem is I can't get the subform to update with the foreign key in the junction table. When I embed the subform this is not a problem, everything populates correctly. However, I'd like to embed as little as possible, in order to keep the main form clean (I have quite a few subforms). I know I could use tabs, but would prefer to have the subforms non-embedded if I can. Is what I'd like to do possible, or do I need to embed? Thank you!
I'm working with Access 2007. I've designed a subform based on a junction table. The subform is not embedded on the main form. It's called from a command button on the main form. I put some VBA code in the command button that links the record, so that the main and subform show the same record.
My problem is I can't get the subform to update with the foreign key in the junction table. When I embed the subform this is not a problem, everything populates correctly. However, I'd like to embed as little as possible, in order to keep the main form clean (I have quite a few subforms). I know I could use tabs, but would prefer to have the subforms non-embedded if I can. Is what I'd like to do possible, or do I need to embed? Thank you!