Requery Combo Box in subfrom

workingpoor

Registered User.
Local time
Yesterday, 19:35
Joined
Jul 19, 2006
Messages
21
This is a bit of a weird one.

I have a combo box in a subform that has a hyperlink to open another form which in the on click event of the hyperlinked form saves the new information and should then update the combo box in the original subform.

i figured i would use a requery to accomplish this. Using the syntax

Forms!Student!sfrmDDS_Classes_add.form.requery

This doesn't error out, but it defenitely doesn't update the combo box within the subform.

Any suggestions
 
Try:
Forms!Student!sfrmDDS_Classes_add.Form!ComboBoxName.Requery
 
Thanks I knew it was something close. I wasn't sure if you could requery a control.
 
You can if it has a RowSource like a ComboBox or a ListBox. Glad I could help.
 

Users who are viewing this thread

Back
Top Bottom