Opening same Form more than once at the same time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Is their a way to Open the same Form more than once at the same time ?

Thank you,
Jeff
 
Jeff said:
Is their a way to Open the same Form more than once at the same time ?

Shure...

Create a form and call it frmTest
Insert some VBA-Code to create a form-module.

in a standard-module write:

Option Explicit

Public f1 As Form, _
f2 As Form, _
f3 As Form


Sub Test()

Set f1 = New Form_Formular1
Set f2 = New Form_Formular1
Set f3 = New Form_Formular1

f1.Visible = True
DoCmd.MoveSize 100, 100
f2.Visible = True
DoCmd.MoveSize 200, 200
f3.Visible = True
DoCmd.MoveSize 300, 300

End Sub


run sub Test()
it will open the form three times.

Note:
In frmTest you have to set the 'HasModule' property to 'yes',
if there is no code in it.
 
Back
Top