Set VirtualForm = New MyForm

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.
 
A

Allen Browne

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top