This is my code:
Private Sub lstBox_AfterUpdate()
DoCmd.GoToControl "txtBox"
Me.txtBox.value = lstBox.value & vbCrLf & Me.txtBox.Text
End Sub
My lstbox and txtbox are bound to the same controlsource in the table.
When I select something from the listbox, it is erasing the textbox value and duplicating the selection text in the textboox.
Thanks.
Private Sub lstBox_AfterUpdate()
DoCmd.GoToControl "txtBox"
Me.txtBox.value = lstBox.value & vbCrLf & Me.txtBox.Text
End Sub
My lstbox and txtbox are bound to the same controlsource in the table.
When I select something from the listbox, it is erasing the textbox value and duplicating the selection text in the textboox.
Thanks.