Set VirtualForm = New MyForm

  • Thread starter Thread starter Frank Dulk
  • Start date Start date
F

Frank Dulk

Use access 2000 and when I make the structure:

dim VirtualForm Form

Set VirtualForm = New MyForm
MyForm.Setfocus

the access just creates a form.

would like several forms.
 
Hi Frank

The line:
Set VirtualForm = New MyForm
assumes you have a form named "MyForm", and it opens one instance of the
form. I take it you want to open multiple instances of this form?

If so, see:
Managing Multiple Instances of a Form
at:
http://members.iinet.net.au/~allenbrowne/ser-35.html
The article includes a sample database you can download.
 
Back
Top