
Originally Posted by
Bob Fitz
To synchronize a sub form, you need to set its “Link Child Fields” and its “Link Master Fields” properties to the fields that link the data. The “Link Child Fields” would be set to the field in the sub form, while the “Link Master Fields” would be set to a field in the master form. As you want to link to a field in another sub form, we must first create a field in the master form which has its “Control Source” property set to the field in the first sub form.
In the solution I proposed earlier, this field is called “TextByBob” and its Control Source is set to “=[Results].[Form]![ID]” which is the field in the first sub form to which the second sub form is now linked.
I hope this makes sense. For the benefit of other users, if you have any further questions please asked them within this thread. You may also get an answer sooner.
Perhaps I can ask what the purpose of the second sub form is. It has the same data source as the first subform and shows some of the same data.
--We are going to display another field in the second subform which doesn't exist in Main form and Subform. The field name is ABSTRACT
You may want to change the last line of code in the On Click event of the button called Command23 from:
Me.Requery
To:
Me.Results.Requery
Also, IMHO, it would be better to give controls like this button a more informative name. Perhaps something like cmdClear.