G
Guest
I have a form with a subform on it.
From the subform i have a feild that's click event is set to the code below.
The problem is the form displays for 1n-th of a second or a blink on the
screen then disapears. I've tried looking in the Window unhide like the book
i'm using says but there is nothing listed under that. It's like the form is
killing itself.
Any help would be appreaciated very very much!
Thanks
Mike
S
Public Sub Multiples2()
Dim CollectForms As New Collection
Dim selCurrentShopOrder As String
Dim frm As Form
selCurrentShopOrder =
Forms![frmWIPExplorer].sfmSONumbersLarge.Form.strShopOrderNumber
Set frm = New Form_frmSOInformation
CollectForms.Add frm
With frm
'.Filter = "strShopOrderNumber = " & selCurrentShopOrder
.FilterOn = True
.Caption = "Shop Order Number " & selCurrentShopOrder
.Visible = True
End With
'MsgBox selCurrentShopOrder
End Sub
From the subform i have a feild that's click event is set to the code below.
The problem is the form displays for 1n-th of a second or a blink on the
screen then disapears. I've tried looking in the Window unhide like the book
i'm using says but there is nothing listed under that. It's like the form is
killing itself.
Any help would be appreaciated very very much!
Thanks
Mike
S
Public Sub Multiples2()
Dim CollectForms As New Collection
Dim selCurrentShopOrder As String
Dim frm As Form
selCurrentShopOrder =
Forms![frmWIPExplorer].sfmSONumbersLarge.Form.strShopOrderNumber
Set frm = New Form_frmSOInformation
CollectForms.Add frm
With frm
'.Filter = "strShopOrderNumber = " & selCurrentShopOrder
.FilterOn = True
.Caption = "Shop Order Number " & selCurrentShopOrder
.Visible = True
End With
'MsgBox selCurrentShopOrder
End Sub