|
-
August 7th, 2001, 02:58 AM
#1
Unloading of Forms in memory
I'm writing an application in Access 2000 and am in the testing phase. Now what happens while testing - if I do not exit the application properly, many of the forms still stay in memory.
How can I unload them unconditionally - just for this test phase?
thanks
-
August 7th, 2001, 03:27 AM
#2
Re: Unloading of Forms in memory
I do not have access 2000 so this may not work, but you can have a try:
Find a point in your program where you're sure you will pass before quitting.
Insert this code:
dim frmF as form
for each frmF in Forms
if frmF.name<>me.name
unload frmF
set frmF =nothing
next
Unload me
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
The Rater
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|