You could also create a vaiable in Form2
Public sVal as string
then when the user clicks the datagrid on Form1:
Private Sub DataGrid1_Click()
form2.Show
form2.sVal = Form1.DataGrid1.Text
End Sub
Now you have the variable stored in sVal
|
Results 1 to 10 of 10
Thread: pass ID from 1 form to anotherThreaded View
|
Click Here to Expand Forum to Full Width |