CaptainBob007
Programmer
Hi -
I have a combo box with 2 columns, the first one is hidden and the second is not. So a user can select an address, and the (hidden) ID for the property is selected behind the scenes, and the form works beautifully.
Now I am trying to open this form from another form by passing in the ID number. I would like to have the combo box set itself to the proper address (and display that address) by using the ID on loading. I can't figure it out.
Basically I am trying to come up with VB code (or whatever is necessary) to take in a hidden value for a combo box and get the combo box to output its associated non-hidden value for that.
Any suggestions?
I have a combo box with 2 columns, the first one is hidden and the second is not. So a user can select an address, and the (hidden) ID for the property is selected behind the scenes, and the form works beautifully.
Now I am trying to open this form from another form by passing in the ID number. I would like to have the combo box set itself to the proper address (and display that address) by using the ID on loading. I can't figure it out.
Basically I am trying to come up with VB code (or whatever is necessary) to take in a hidden value for a combo box and get the combo box to output its associated non-hidden value for that.
Any suggestions?