Cannot open any more databases

D

Debbie Gilbert

When running a report..I get the message "Cannot open any
more databases." Run-time error 3048... Has anyone seen
this message before?
 
T

tom

When you open recordsets in memory to evaluate/calaulate data, etc., you
must close them otherwise they remain in memory, clogging it up. Therefore,
always close the recordset at the end, as shown below.

Dim rst As DAO.Recordset
'all your code is in here
rst.Close
Tom.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top