Pass Parameter from form to form
Sorry, I still couldn't get it. I still got syntax error. Actually what I
want is for form1, it has 3 labels. When I click on any of the label, form2
will display which label I click from form1. Here is my code.
form1 : (I've 3 label)
Private Sub Label1_Click()
Form2.M2!tem = "label1"
End Sub
form2 :
Public sub M2()
dim tem as string
msgbox tem
end sub
Regards
Robin
Quote:
> Hi
> May I know how to pass parameter from form1 to form2.
> Regards
> Robin