Pull Down List Addition

C

Chris B

I have a form that has vendors name pull down list. By
the users request, I have an add new vendor button that
opens a vendors form in the add record mode. The problem
I have is that after adding the record, I can not get the
combo box list to update and point to the new record just
added on the same record. Please help

Chris Beardsley
 
C

chas

Hi Chris,

at the end of the code behind your CommandButton add the
line:

Me!ComboBoxName.Requery

where ComboBoxName is the name of your ComboBox.

hth

chas
 

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