|
-
Aug 15th, 2003, 03:12 AM
#1
Thread Starter
New Member
Give me Result Pls.
Hey every one,
I have Faced a problem, that i declared a dim variable in form module. when i show the form at first time the variable get set. And when i unload it,then the Vari. Retains as Last set when i show it by using mdi at next time. Why? TO overcome it i used
set form1= nothing.
But i want to know how this occur............
-
Aug 15th, 2003, 09:38 AM
#2
PowerPoster
because unloading a form just takes it off the screen and does not remove its variables from memory. what you have done is correct (set it to nothing to really get rid of it & free up memory)
-
Aug 15th, 2003, 01:22 PM
#3
Hyperactive Member
no..... unloading a static form will clear its variables.
but if you created it dynamically with "SET" ... you will have to set it to nothing after you unload it.
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
|