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

Getting txt from cbo field 1

Status
Not open for further replies.

BabyPowder2u

Programmer
May 4, 2005
87
US
I have a cbo field cboRoomType it has 2 columns, an index & txt
I want to display the text from that field in a txt box.

I know this is simple, but I'm getting the syntax wrong. The following gives an error (in effect it is looking for the value (as a variable)in cboRoomType instead of taking the value & transferring it)
I have:
txtChnlType = Me(cboRoomType.Column(1))

any Help would be appreciated.

T
 
And this ?
txtChnlType = Me!cboRoomType.Column(1)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top