requery combo boxes on sub form (1 Viewer)

david.paton

Registered User.
Local time
Yesterday, 16:39
Joined
Jun 26, 2013
Messages
338
I want to requery combo boxes on sub forms to a main form.

I have the code in the on current event of my main form

Private Sub Form_Current()
Me.Form.Requery
Me.frmCarerAvailabilitysubform.Requery
Me.tblCarerNotesSubform.Requery
Me.tblChildSubform2.Requery

End Sub


However, will this requery combo boxes within the subform?
 
Last edited:

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 07:39
Joined
May 7, 2009
Messages
19,247
You don't requery the main form. It will tossed you back to the first record.
you must explicitly requery the combos.
 

Users who are viewing this thread

Top Bottom