Is there a maximum number of queries hitting an access tables? "Out of memory" message box appear when i have add a new queries to the tables. thanks
No, it isn't. Maybe you open databases and/or recordsets on your VBA code? In this case always you may close these and set those as Nothing
private sub abc
dim rst as recordset
dim dbs as database
Set dbs = DBEngine.Workspaces(0).OpenDatabase("c:\DB.mdb"
...........
...........
set rst=dbs.openrecordset("MyTable"
...........
...........
rst.close
set rst=nothing
dbs.close
set dbs=nothing
end sub
I'm not sure that it will help you, but I don't meet messages about memory after I began use code above.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.