pass list value to a text box on click event
i want to be able to pass a unique ID from a list box on click to a text box. i know how to do this when opening a new for at a certain record but i want to be able to do it on the same form.
the code i have tried is
"txtOrdersItemsID =" & Me.lstTreatmentHistory
i used this in the run code macro in the on click even of the list box.
can anyone tell me where i am going wrong please.