Hello All and Happy New Year!
I am working on a project where I need to create a record from a subsubform while referencing primary key data from the parent form. I am using the Link Master/Child Fields to filter the data on the subform. I would not have to use the subsubform except my subform exceeds the 22" limitation. I broke the form in to parts on a tab control. To keep the form from auto-scrolling to the first input field, I created a subsubform on each of the two tabs. There are no data fields on the subform. (I have tested the fields there and the record is created correctly.) I need help setting up the parent child links that will allow me to associate the subsubform back to the parent form.
I first tried to use the same data source and child/master link fields for both the subform and the subsubform, I got an error saying the record could not be created without a primary key. I tried a number of other configurations unsuccessfully. Now I get an "Object variable or With block variable not set" error when I try to define the link master/child fields on the subsubform.
As a side note, I cannot eliminate the subform because it also has a tab control with multiple subforms on it. My issue exists with this tab due to the length of the information I have to present.
Thanks in advance!
I am working on a project where I need to create a record from a subsubform while referencing primary key data from the parent form. I am using the Link Master/Child Fields to filter the data on the subform. I would not have to use the subsubform except my subform exceeds the 22" limitation. I broke the form in to parts on a tab control. To keep the form from auto-scrolling to the first input field, I created a subsubform on each of the two tabs. There are no data fields on the subform. (I have tested the fields there and the record is created correctly.) I need help setting up the parent child links that will allow me to associate the subsubform back to the parent form.
I first tried to use the same data source and child/master link fields for both the subform and the subsubform, I got an error saying the record could not be created without a primary key. I tried a number of other configurations unsuccessfully. Now I get an "Object variable or With block variable not set" error when I try to define the link master/child fields on the subsubform.
As a side note, I cannot eliminate the subform because it also has a tab control with multiple subforms on it. My issue exists with this tab due to the length of the information I have to present.
Thanks in advance!
