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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populate a Textbox/Label Using SQL?

Status
Not open for further replies.

nevadaflyfisher

Programmer
Mar 27, 2003
9
US
I have a combobox on a form that's poulated with values from column 1 of a table. I'd like to include a disabled textbox or label on the form that displays the column 2 value on the combobox's On Click event.

Many Thanks in Advance,
Ken
 
I usually have the field in the combo box dropdown list... Either set width to zero to hide or actually display it.

Then display in text box as follows on the OnChange Event of the Combo box.

Me.txt_User_Group.Value = Me.cbo_UserGroup.Column(2)

htwh,

Steve Medvid
"IT Consultant & Web Master"
e-Mail: Stephen_Medvid@GMACM.com

Chester County, PA Residents
Please Show Your Support...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top