CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Memory

  1. #1
    Join Date
    Aug 2000
    Location
    England
    Posts
    185

    Memory

    Hello,

    Does anyone know of a way to explicity free the memory used by public variables in Access? The problem that I am having is that I am coming across and error due to the number of variables defined and I suspect that the memory is not being freed when the forms are closed. Is there any way around this?

    Thanks in advance

    Andrew


  2. #2
    Join Date
    Jun 1999
    Location
    England
    Posts
    86

    Re: Memory

    Are all your routines set to Private.

    Like this

    Private Sub MyRoutine ()

    End Sub

    This will help. Also try Set MyVar = Nothing





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

Featured