Results 1 to 3 of 3

Thread: Give me Result Pls.

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2003
    Posts
    2

    Question 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............
    smiles

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    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)

  3. #3
    Hyperactive Member
    Join Date
    Aug 2002
    Posts
    416
    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
  •  



Click Here to Expand Forum to Full Width