Thanks for that. That'll do the job. I was hoping that there would be an easy way to create a form property, without resorting to public variables, but I'll cope with this.
Thanks,
Pete
>=== Correction Form1 ===
>Private Sub Command1_Click()
>Form2.sData = "test"
>Form2.Show
>End Sub
>=== Form2 ===
>Public sData As String ' the easiest way to create a property :-)
>Private Sub Form_Activate()
>MsgBox sData
>End Sub
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only