Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fill 2 diff txt boxes from value of 1st 1

Status
Not open for further replies.

luismagally

IS-IT--Management
Jan 12, 2005
21
PR
Hi,

I've got a small problem and don't know how to solve this yet. I've got a combo box reading values from a query. The query reads 2 columns into it:

COL_1 COL_2
val1 val2
val3 val4
.
.
.
valx valy


Besides the combo box is a text box on which I want to fill with the next column. If I choose in the combo box the value val1, I would like the val2 to appear in the text box.

Any ideas...

Thanks
 
if its any help to get the value of the second column in a combo box you would have to type

TEXT_BOX = COMBO_NAME.Column(1)

i.e 0 = Column1, 1 = Column2 and so on


I hope this help
 
Thanks a lot, so easy and yet so far away from my grasp.

Thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top