G
Guest
I want to be able to open another instance of a form by pressing a button so
that i can have multiple/different records of the same form. im using this
code (on the onclick event of the button):
-------------------------------------------------
Private Sub OpenAnotherWindow_Click()
Set frmX = New Form_SwAvailabilityMainForm
frmX.SetFocus
End Sub
--------------------------------------
I copied this from another database i had and this code worked (obviously i
changed the names). The problem is it that everytime i press the button to
open another form it flickers (like a popup thats being blocked) where it
opens for a milisecond and then it disappears.Any thoughts?
Thanks in advance
that i can have multiple/different records of the same form. im using this
code (on the onclick event of the button):
-------------------------------------------------
Private Sub OpenAnotherWindow_Click()
Set frmX = New Form_SwAvailabilityMainForm
frmX.SetFocus
End Sub
--------------------------------------
I copied this from another database i had and this code worked (obviously i
changed the names). The problem is it that everytime i press the button to
open another form it flickers (like a popup thats being blocked) where it
opens for a milisecond and then it disappears.Any thoughts?
Thanks in advance