A family of Microsoft relational database management systems designed for ease of use.
If your listbox is set to only allow 1 item selection, Multi Select = None. Then you can simply do:
Me.TextBoxControlName = Me.ListboxControlName
But why would you need to display this information twice?
If your listbox allows multi-selection then you need a loop, such as :
With Me.ListboxControlName
For Each varItem In .ItemsSelected
If Not IsNull(varItem) Then
Me.TextBoxControlName = Me.TextBoxControlName & ", " & .ItemData(varItem)
End If
Next
End With
I hope this helps,
Daniel Pineault
http://www.cardaconsultants.com
MS Access Tips and Code Samples: http://www.devhut.net