In need of help w/ combobox's

D

David

If someone could help me with this. I have a combobox
based of a table with two columns. Column one has the
name of tests and column two has the course the test
replaces. I would like it when the user selects a test
that the replacing course appears in a text box. I
really have do not know how to code this so any help
would be great.


Thank you ahead

David Ehrenreich
 
S

Schlauberger

Created an event for your combobox AfterUpdate

Me!txtTextBox = Me!cboComboBox.Column(1)
 
G

Guest

Thank you very much. I had tried writing the expression
like that, but it did not work because I used me.textbox
rather then me!textbox. I'm learning VB by myself can
you tell me the difference with using . or ! with me
statements.

Anyhow thank you it worked just like I needed it too.

Dave
 

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