Greetings,
I have a combo box that is linked to a lookup table of possible values.
The table looks as follows:
ID | DESCRIPTION
01 | Inactive
02 | Suspended
03 | Active
...| ...
Now, my combo box retrieves both colomns, but the first colomn (ID which is the Primary Key) is set to a width of 0 so it does not show. Thus, the user sees Inactive, Suspended, Active, etc. The box is bound to the second colomn, so 01, 02, 03, etc is stored in the database.
My problem is that I would like to place the selections in a text message to the user, and when placing the combobox.value in the text, I get the 01, 02, 03, which means nothing to a person. I could query the look up table for the description column where the ID matches the value of the combo box and then use that as my text, which would solve my problem....
BUT, since Access is displaying the description right on the screen, there must be a property I can use to get it. Of course, I cant determine how.
Can anyone tell me if there is such a property, and what it is? If not, do you have any better ideas that just querying out the description?
Thanks for the help,
Draug
I have a combo box that is linked to a lookup table of possible values.
The table looks as follows:
ID | DESCRIPTION
01 | Inactive
02 | Suspended
03 | Active
...| ...
Now, my combo box retrieves both colomns, but the first colomn (ID which is the Primary Key) is set to a width of 0 so it does not show. Thus, the user sees Inactive, Suspended, Active, etc. The box is bound to the second colomn, so 01, 02, 03, etc is stored in the database.
My problem is that I would like to place the selections in a text message to the user, and when placing the combobox.value in the text, I get the 01, 02, 03, which means nothing to a person. I could query the look up table for the description column where the ID matches the value of the combo box and then use that as my text, which would solve my problem....
BUT, since Access is displaying the description right on the screen, there must be a property I can use to get it. Of course, I cant determine how.
Can anyone tell me if there is such a property, and what it is? If not, do you have any better ideas that just querying out the description?
Thanks for the help,
Draug