Code for Requery for a Combo Box Located in a Sub Subform in a Tab Control

Novice here.  I need code for an After Update event for a Combo Box on a main form.

I want to requery a combo box that is located in a subform of a subform which is located in a tab of a tab control.

Form:  frmOpportunities
Tab Control:  TabCtlOpps
Tab: General
Subform: sbfrmOppProjGeneral
Sub Subform: sbfrmOppProjContact
Control:  cboContactPerson

Here is what I've tried:


(all on one line)

Who is Participating?
Dale FyeConnect With a Mentor Commented:
now that I think about it, some of those should be bangs, try:

Dale FyeCommented:
the tab control is immaterial to this discussion.

If the combo is on the main form, then you should be able to use something like:


But your subform description above says the subform name is sbfrmOppProjGeneral, but your line of code says "sbfrmOppProjGeneralInfo"

the general syntax for doing this is:


Make sure the what you are using as the subform control name is if fact the name of the control, not the form (although they may be the same).  In your case, the 2nd subform is simply the control on the 1st subform, so it would be:

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.