Unsuccessful with requery from combo to text box

Spam808

Registered User.
Local time
Today, 11:58
Joined
Dec 3, 2018
Messages
55
I a combo with a list of names to choose from and the text suppose display appropriate title associated with the name.

Private Sub cboCom1_AfterUpdate()
Me!Name1.Requery
Me!Name1.Value = DisplayName
End Sub

Everytime I select a name, I receive run-time error 3326.
 
Thank you its working now.

This worked for me Me.Name1 = Me.cboCom1.Column(1), but I have other text boxes associated with cboCom1. I typed Me.Name2 = Me.cboComName1.Column(18), but nothing displayed
 
Make sure the column count property of the combo is appropriate. If it isn't, any reference to a higher column than is specified there won't work.
 
Happy to help and welcome to the site by the way!
 

Users who are viewing this thread

Back
Top Bottom