eulogy6
Programmer
- Apr 30, 2004
- 26
Hello to all,
I have a main form with a datagrid,
frmImportsForm & frmAnalysisDetails
How I Know which form is open (frmImportsForm OR frmAnalysisDetails), in order to pass a value?
I suppose my question is very simple.
Private Sub DataGrid1_DblClick()
If frmImportsForm.Hide = True (something like that) Then
frmAnalysisDetails.Text11.Text = Me.Text1.Text
else
frmImportsForm.Text6.Text = Me.Text1.Text
End If
Unload Me
End Sub
I have a main form with a datagrid,
frmImportsForm & frmAnalysisDetails
How I Know which form is open (frmImportsForm OR frmAnalysisDetails), in order to pass a value?
I suppose my question is very simple.
Private Sub DataGrid1_DblClick()
If frmImportsForm.Hide = True (something like that) Then
frmAnalysisDetails.Text11.Text = Me.Text1.Text
else
frmImportsForm.Text6.Text = Me.Text1.Text
End If
Unload Me
End Sub