I have a main form (Form_1) with a tab control that has five pages with a subform on each (Subform_1 - Subform_5). Form_1 has no data. Subform_2 through Subform_5 are linked via the child field "RequestID" (number/long integer; foreign key) to the parent field "RequestID" (autonumber; primary key) on Subform_1. Note: in the Link Master Fields box for Subform_2 through Subform_5, I have "forms!Form_1!Subform_2!RequestID" and so on.
What I need: when I open Form_1, I want Subform_1 (first page of tab control) to display where user adds new record. I have this working. Then, when user clicks on one of the tabs for Subform_2 through Subform_5, I want them to be able to enter information on each of these subforms and have it write to the respective tables with the same "RequestID" that was added on Subform_1. Each subform can have multiple records and I have a button on each one to add a new record.
I currently have the subforms (2-5) requery "on current", and it works for the first record, but when I go to add another record on one of the subforms, I get the message "Can't go to the specified record".
Any help is GREATLY appreciated!
What I need: when I open Form_1, I want Subform_1 (first page of tab control) to display where user adds new record. I have this working. Then, when user clicks on one of the tabs for Subform_2 through Subform_5, I want them to be able to enter information on each of these subforms and have it write to the respective tables with the same "RequestID" that was added on Subform_1. Each subform can have multiple records and I have a button on each one to add a new record.
I currently have the subforms (2-5) requery "on current", and it works for the first record, but when I go to add another record on one of the subforms, I get the message "Can't go to the specified record".
Any help is GREATLY appreciated!