Solved

Unloading Forms. (Easy)

Posted on 1998-08-13
3
154 Views
Last Modified: 2010-04-30
How would I go about unloading All of my loaded forms when one main form is unloaded.
0
Comment
Question by:hess
3 Comments
 
LVL 1

Accepted Solution

by:
jsuper earned 10 total points
ID: 1468722
Place the following code in the Form_Unload subroutine of your main form...

dim vForm as form
for each vform in forms
     unload vform
next vform
0
 

Author Comment

by:hess
ID: 1468723
Great. Thanks
0
 

Expert Comment

by:Snell
ID: 1468724
Actually, you could put this in the form_unload part...

Sub Form_unload()
End
End sub

now isnt that easy?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel VBA combine two working workbooks 8 60
vbModal 12 57
Excel Automation VBA 19 88
VBA - Excel, Hide/unhide range of rows on sheet with listbox selection 9 63
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question