Requery a Combo Box from another form (1 Viewer)

Lkwdmntr

Registered User.
Local time
Today, 05:09
Joined
Jul 10, 2019
Messages
261
I have a form that adds a measurement to the measurement table ie: cup, oz. When I close the form I am trying to requery the combo box on another form.

Here's what doesn't work.
Code:
[Forms]![frmMealComponents].Controls![cboMeasure].Requery

I also wanted to query the subform and it's not letting me. This is what I'm using for that.

Code:
[Forms]![frmMealPlans].[Form]![frmMealComponents_subf].Requery
 

theDBguy

I’m here to help
Staff member
Local time
Today, 05:09
Joined
Oct 29, 2018
Messages
15,542
Hi. You might find it simpler, as I do, to simply requery the Combobox using its own GotFocus event. Just a thought...
 

Users who are viewing this thread

Top Bottom