Article ID: 135369
Article Last Modified on 1/19/2007
150895 ACC95: Microsoft Access Sample Forms Available in Download Center
175066 ACC97: Microsoft Access 97 Sample Forms Available in Download Center
Set x = New Form_Form1When you open multiple instances of a form, the original instance is the only form object that is stored permanently in the database. The other instances are temporary and are removed from memory when you close them.
Option Compare Database
Option Explicit
Dim x as Form
Name: OpenNewCust
Caption: Open Customers
OnClick: [Event Procedure]
Private Sub OpenNewCust_Click()
Set x = New Form_Customers
x.setfocus
End Sub
Additional query words: copy copies duplicate MDI container
Keywords: kbhowto kbprogramming kbusage KB135369