Sub Form Referencing Problem

  • Thread starter Thread starter Craig
  • Start date Start date
C

Craig

I have a form with a subform on it that has comboxes on
it. I want to add data to the cbobox via a dialogue type
form. On the OnClose event of the dialogue form I would
like to requery the cbobox on the subform. BTW I cannot
use the NotInList method for this. This is my line on the
OnClose event that I'm trying:
Forms("frmTimeCards").Controls
("fsubTimeSheetLineItems").Control("cboJobCodeID").Requery

TIA

--Craig
 
Craig,

Try this...
Forms!frmTimeCards!fsubTimeSheetLineItems.Form!cboJobCodeID.Requery

- Steve Schapel, Microsoft Access MVP
 
Back
Top