steinkebunch
Programmer
I have a subform linked to a main form. The subform is for data entry. 3 fields in the main form (which make up the parent tables primary key) determine what records are linked in the subform.
I used the Subform field linker to select the 3 fields in the main form and the related fields in the subform. When finished, the "Link Child Fields" and Link Master Fields" properties of the subform are similar to the following:
Link Child Fields . . . LinkChild1;LinkChild2;LinkChild3
Link Master Fields . . . LinkMaster1;LinkMaster2;LinkMaster3
The form/subform seemed to work OK. I performed data entry for 25 or so new records in the subform. However, as I got to looking at the table the subform is based on, I'm finding that data is not always writing to the correct records. Some of the nonprimary data entry fields get written to the wrong record.
So I went back to see if the Subform field linker was still correct, and when I bring up the wizard, it gives me the message "Parts of the link with missing pair fields will be ignored." I click OK and it shows me what fields are linked. All three "links" are still correct, and the fields exist, etc.
If I delete any one of the linking fields, so that the main form and subform are only linked via two fields, I don't get the linker error. However, I need all 3 fields to link, so the related table updates correctly.
Any ideas? Thanks.
I used the Subform field linker to select the 3 fields in the main form and the related fields in the subform. When finished, the "Link Child Fields" and Link Master Fields" properties of the subform are similar to the following:
Link Child Fields . . . LinkChild1;LinkChild2;LinkChild3
Link Master Fields . . . LinkMaster1;LinkMaster2;LinkMaster3
The form/subform seemed to work OK. I performed data entry for 25 or so new records in the subform. However, as I got to looking at the table the subform is based on, I'm finding that data is not always writing to the correct records. Some of the nonprimary data entry fields get written to the wrong record.
So I went back to see if the Subform field linker was still correct, and when I bring up the wizard, it gives me the message "Parts of the link with missing pair fields will be ignored." I click OK and it shows me what fields are linked. All three "links" are still correct, and the fields exist, etc.
If I delete any one of the linking fields, so that the main form and subform are only linked via two fields, I don't get the linker error. However, I need all 3 fields to link, so the related table updates correctly.
Any ideas? Thanks.