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 textbox with combo box content

Status
Not open for further replies.

Pampers

Technical User
Apr 7, 2004
1,300
AN
Hi everybody,
I have information stored in a table combobox. Now i want to show that information on a form, but not in a combobox but in a textbox. The textbox returns the numbers instead of the text. How can i get the textbox to display the text?
tnx, Peter.
 
Hi poalaerds,

How many columns are displayed in the Combo Box and how are you refering to it?

Phil.
 
Hi Phil,
tnx a lot for your reply. Problem solved. Got a nice tip from Seaport. It is not in this thread because accidently i posted the problem twice. sorry. His idea was:

txtBox8 = combox9.column(1) or just type

= combox9.column(1)in the control source of txtBox8.

Works fine. Problably there is also away to directly refer to value of the combo, without putting the combo9 on your form.
Peter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top