Hello JDU,
In the
event of subform A, add the following code:
Code:
Forms![Name of subform B].Form.Recordset.FindFirst "ID = " & Me.Form.Recordset!ID
You will have to replace "ID" with the actual name of the primary/foreign keys.
On problem with this method is that it will only work when you make changes to subform A. If you add the same code to subform B, you may cause an error -- I haven't tested this code.
If you absolutely needed two subforms to be bound to eachother, but not the main form, I would probably do the following:
In the main form, add a subform. Within that subform add the two subforms and link them to the subform that is just below the main form.
So, you would have a hierarchy like this:
Code:
Main Form
|
Subform A
| |
Subform B Subform C
This would allow you navigate through the subform records, using Subform A. Hope that was clear.
Good Luck, Robert
•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•
Professional, affordable, Access database solutions and assistance
°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°•°