Sub Form Referencing Problem

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
 
S

Steve Schapel

Craig,

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

- Steve Schapel, Microsoft Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top