trying to grab value from combo box main to enter into new record

  • Thread starter Thread starter babs
  • Start date Start date
B

babs

Trying to grab for NEW record when man name selected from combo box cboman
want it to input from 1st column-meaning column 0 and put it in text box
named txtName on the subform called datbarbTimeCardMDJEFFSubform2
- getting an error not sure why???


Private Sub cboman_AfterUpdate()
Me.datbarbTimeCardMDJEFFSubform2.txtName = Me.cboman.Column(0)
End Sub

error - method or Data not found

thanks
barb
 
Barb,

Try this:

datbarbTimeCardMDJEFFSubform2.Form!txtName = Me.cboman

God Bless,

Mark A. Sam
 
Back
Top