combo box coding

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

I'm using a combo box to select from a table.

I want the other fields within the form to 'line up' with the selection in
the table.

I cannot for the life of me remember what the coding was to do this.

Any help appreciated.

Dave
 
In the "After Update" event for the combo box, you'll need
to write code to change the other fields based on the
new .Value in the combo box.
 
I'm using a combo box to select from a table.
I want the other fields within the form to 'line up' with the selection in
the table.

I cannot for the life of me remember what the coding was to do this.

First, make sure that the combo box has an empty "control source" property (it
needs to be "unbound") so that you won't be changing the value of a field. See
the following page at The Access Web for code to make your form move to the
selected record:

Forms: Have the form move to the record selected in List/Combo box
http://www.mvps.org/access/forms/frm0005.htm
 

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

Back
Top