Issue Refreshing/Requery Subform/combo box

M

Manuel

Hi:

I need to be able to refresh or requery (not sure which method is
appropriate) a subform and combo box in the After Update event or via a
command button. I've used the below syntax but the combo box (in this case)
does not get updated.

Forms![MainForm]![sfrm_ResourceAllocation].Form![EmployeeID].Requery

Thanks,

Manuel
 
M

Marshall Barton

Manuel said:
I need to be able to refresh or requery (not sure which method is
appropriate) a subform and combo box in the After Update event or via a
command button. I've used the below syntax but the combo box (in this case)
does not get updated.

Forms![MainForm]![sfrm_ResourceAllocation].Form![EmployeeID].Requery

Assuming the main form, subform control and combo box names
are correct, that should work. Be sure to double check that
you are using the subform **control** name and not the
subform object name.
 

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