Take a look at Access HELP for the syntax to use with the .Column(n)
property...
I suspect you'll use:
... .Column(2)
(.Column() is zero-based ... start counting "0, 1, 2")
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or psuedocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
"Label" in an Access form has a very specific meaning.
I'll bet you want to be able to show the description, no matter how...
Use a "text box" instead of a label.
Set the ControlSource of the textbox to something like:
Me!cboYourComboboxName.Column(1)
This assumes your combobox has two columns (item, description).
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or psuedocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
- Show quoted text -
Thanks for the response. I actually have three columns in my table-
the second column is the list of items for the drop down box. The
third column is the description. Does that change anything in what I'm
supposed to do?