Referencing text from drop-down vice ID number

spudracer

Here and there
Local time
Today, 13:12
Joined
Jul 1, 2008
Messages
199
[SOLVED] Referencing text from drop-down vice ID number

I know this is simple, but I feel like Simple Jack this morning. I'm trying to take the text from a drop-down menu and use that as part of the form caption. However, the text is not what is bound, the ID number is.

I know I'm going to feel like an idiot when it finally dawns on me how to do this.
 
Last edited:
How about ?
Code:
Me.CaptionLable.Caption = Me.yourComboBox.Column(1)

Or

Code:
Me.yourComboBox.SetFocus
Me.CaptionLable.Caption = Me.yourComboBox.Text
 
Refer to the column:

ComboName.Column(x)
 
I figured it out, but it wasn't either of those options. I chose to add in the field from the table that data is stored in. It works, but I never even thought about referencing a column within a drop-down.

Thanks for the assist!
 

Users who are viewing this thread

Back
Top Bottom