R rssmith@up.com Guest Jun 1, 2004 #1 What are some reasons why ACCESS 97 would display "Out of Memory" errors when I run my macros and try to open a linked table?
What are some reasons why ACCESS 97 would display "Out of Memory" errors when I run my macros and try to open a linked table?
Mile-O Back once again... Local time Today, 00:11 Joined Dec 10, 2002 Messages 11,316 Jun 2, 2004 #2 From MS Knowledge base
A alexbri New member Local time Yesterday, 16:11 Joined May 28, 2004 Messages 5 Jun 2, 2004 #3 If you're using recordsets and db connections, are you closing them at the end of your macros...
R rssmith@up.com Guest Jun 2, 2004 #4 Out of Memory - Answer to Question alexbri said: If you're using recordsets and db connections, are you closing them at the end of your macros... Click to expand... No, what do you recommend?
Out of Memory - Answer to Question alexbri said: If you're using recordsets and db connections, are you closing them at the end of your macros... Click to expand... No, what do you recommend?
Mile-O Back once again... Local time Today, 00:11 Joined Dec 10, 2002 Messages 11,316 Jun 2, 2004 #5 If you are using code like: Code: Dim db As DAO.Database Dim rs As DAO.Recordset or Dim cn As ADODB.Connection Dim rs As New ADODB.Recordset then remember to set the object variable defined to nothing once its usage is complete i.e. Code: Set db = Nothing
If you are using code like: Code: Dim db As DAO.Database Dim rs As DAO.Recordset or Dim cn As ADODB.Connection Dim rs As New ADODB.Recordset then remember to set the object variable defined to nothing once its usage is complete i.e. Code: Set db = Nothing