Displaying combo box value on form

  • Thread starter gmazza via AccessMonster.com
  • Start date
G

gmazza via AccessMonster.com

Hey there,
Is there anyway to extract the value from a combo box?
For my combo box I have 2 fields, the first one being the id, the second one
being the value.
I have a separate unbound text box that I want to display the value from the
textbox.

When I put this code in my Change event on the combo box:
Text59 = cboCriteriaOptionValue

I am getting the id. How can I get the vlue displayed?
Thanks!
 
C

Chegu Tom

text59=me.cboCriteriaOption.column(1)

Column(0) is your first field in the combo box column(1) is the second field
etc
 
G

gmazza via AccessMonster.com

Thank you sir!

Chegu said:
text59=me.cboCriteriaOption.column(1)

Column(0) is your first field in the combo box column(1) is the second field
etc
Hey there,
Is there anyway to extract the value from a combo box?
[quoted text clipped - 10 lines]
I am getting the id. How can I get the vlue displayed?
Thanks!
 

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