declaring variables as form types

S

scott w t

I may be imagining it, but I recall that in Access 2000 declaring a variable
as a form type (Dim frm as New Form_Widgets) did not result in the form being
added to the Application.Forms collection, but now it does. Also, executing
the code "Set frm = New Form_Widgets" multiple times now results in multipe
copies of Widgets being opened in the Application.Forms collection and the
variable frm being set to the last instance of Widgets that was opened, which
also was not true in Access 2000. Can anybody either confirm this or set me
straight?
 

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