Hi, I'm using VB6 and when trying to pass the selection of the listbox in one form to a textbox in another form I get the mismatch error code 13, though the textbox is a string and the passing parameter is a string as well. I'm using this code to pass the parameter:
[CODE=vb]Private Sub Select_cmd_Clic k()
passpara = emp_list
Forms!PerData!P ersonal(1) = passpara
Unload Me
End Sub[/CODE]
[CODE=vb]Private Sub Select_cmd_Clic k()
passpara = emp_list
Forms!PerData!P ersonal(1) = passpara
Unload Me
End Sub[/CODE]
Comment