I have a form with two subforms. The two subforms refere to differnt fields in the same table.
One of the subforms shows the navigation buttons and one does not. When I use the navigation button to change a record, I want both subforms to go to the same record in the underlying table.
Right now I have code in the form_current event (of the form with the nav buttons): Me.parent.othersubform.form.Bookmark = Me.Bookmark
This works great! With one exception. It takes the form a second or two to count up the number of records in the subform and include that number in the navigation buttons. Until that happens, My attempt at setting the bookmark doesn't work. So if I open the form and quickly click on a different record or use the navigation button to change the record, the 2nd subform's bookmark doesn't get reset.
Once the #of records is calculated and shown in the navigation buttons the two forms stay in-sink...
Can anyone point me in the right direction?
Thanks!
One of the subforms shows the navigation buttons and one does not. When I use the navigation button to change a record, I want both subforms to go to the same record in the underlying table.
Right now I have code in the form_current event (of the form with the nav buttons): Me.parent.othersubform.form.Bookmark = Me.Bookmark
This works great! With one exception. It takes the form a second or two to count up the number of records in the subform and include that number in the navigation buttons. Until that happens, My attempt at setting the bookmark doesn't work. So if I open the form and quickly click on a different record or use the navigation button to change the record, the 2nd subform's bookmark doesn't get reset.
Once the #of records is calculated and shown in the navigation buttons the two forms stay in-sink...
Can anyone point me in the right direction?
Thanks!