Combo = TextBox??

redblaze

Registered User.
Local time
Today, 22:26
Joined
Jan 12, 2002
Messages
54
hi, how can i make what ever is selected in a combo box, duplicated into a text field?

thanks for your help.
 
On the AfterUpdate event of the combo, put

Me.TextFieldName = Me.ComboName.Column(1)

The columns start at 0. Check your row source to see which column in the combo contains the value you wish to save.
 
the code above dosent work. there is an error, is there any other way?
 
Did you select the code builder and put the code inside the Private Sub and End Sub lines?

Also, add this to the code

DoCmd.RunCommand acCmdRefresh
 

Users who are viewing this thread

Back
Top Bottom