Getting my TOWN into a text box (1 Viewer)

peterb

Registered User.
Local time
Today, 21:16
Joined
May 4, 2001
Messages
12
I am trying to create a text box ('Location') that updates its contents after an option is chosen from a combo box (a list of different courses) on the same form. When I choose a particular course, I want the text box to display the town related to that particular course. I can create a combo box that does this but it comes with a drop-down arrow and makes the form look untidy.

Does anybody know of a way of just having a text box that will display the town name? ? ?
 

KevinM

Registered User.
Local time
Today, 21:16
Joined
Jun 15, 2000
Messages
719
Check the post above this one "Autofilled data not in table"

HTH#
 

peterb

Registered User.
Local time
Today, 21:16
Joined
May 4, 2001
Messages
12
I have tried using AfterUpdate [Text10] = [Combo8].Column(1) but it completely refuses to update automatically. Is there something obvious I am missing ???
 

KevinM

Registered User.
Local time
Today, 21:16
Joined
Jun 15, 2000
Messages
719
Are you putting...
[Text10] = [Combo8].Column(1)
in the AfterUpdate Event of Combo8?

Also do you have the town as the second column in combo8?
 

peterb

Registered User.
Local time
Today, 21:16
Joined
May 4, 2001
Messages
12
I've just read a message on the forum showing me how to do it exactly, namely Me.Combo20 = Me.Text18.Column(2). Thanks ever so much for your help anyway; can you tell me (sic) what 'Me' actually does?
 

KevinM

Registered User.
Local time
Today, 21:16
Joined
Jun 15, 2000
Messages
719
'Me' in this case is referencing the form which you probably don't need.
 

Users who are viewing this thread

Top Bottom