Unlinked Form/Sub_Form Synchronisation

You're welcome!
 
Ah so desu ka? :-)

So the OnCurrent on the subform got triggered by the cursor movement, and then immediately re-triggered by returning from fiddling with something on the parent form via code? And vice versa or something like that?
 
The only explanation I can give is this.

The main purpose of a subform is to display related records of its parent form. When the bookmark of the parent record is changed unexpectedly it seems to get the subform to refresh (not requery) which will in turn fire the subform's On Current event in an attempt to ensure both forms are in synch. This happens regardless of whether the subform is linked to the parent. It also seems that the Current event of a subform is handled slightly differently when you click on the Record Selector/Nav buttons and when you click in a control. This is all speculation anyway.
 

Users who are viewing this thread

Back
Top Bottom