Multiple Instances of Forms

  • Thread starter Thread starter Bernie
  • Start date Start date
B

Bernie

I have a form that contains Tab Controls, with a different
subform on each Tab. These forms (main and subs) are read-
only to display information. The subforms are assigned
child relationships with a field on the main form.

My question: Is there a way to display multiple instances
of the main form (and by default, subforms)? For example,
the user looks at Part A, but also wants to look at Part B.

I know that there is an example of doing this with a data
entry screen, to allow a user to work on one record and if
needed, open up a multiple instance form to work on
entering another record at the same time.

Thanks!
Bernie
 
Yes, you can open multiple instances of the same form with the New keyword.

The more difficult aspect is maintaining the lifetime of the objects created
with New. One way to do that is with a custom collection. Explanation and
downloadable example in article:
Managing Multiple Instances of a Form
at:
http://allenbrowne.com/ser-35.html
 
Back
Top