"cannot open any more databases" (1 Viewer)

jonnie_c

Registered User.
Local time
Today, 06:14
Joined
May 11, 2002
Messages
25
i have a report which has several subreports. Each one of these subreports uses many queries. I have never had any problems printing this report before, however, now when I go to print it i recieve the message "cannot open any more databases" and it prints only part of the report. I am having no problems previewing the report. Any ideas on why this might be occuring?
 

Alexandre

Registered User.
Local time
Today, 12:14
Joined
Feb 22, 2001
Messages
794
Check whether you have opened db or recordset objects that you didn't close properly in your code (ex: Dim db as Database, set db = CurrentDb() ....your code.... Set db = Nothing 'Free up the pointer to your db object)
 

jonnie_c

Registered User.
Local time
Today, 06:14
Joined
May 11, 2002
Messages
25
no recordsets being used in this report. as a matter of fact, no cade at all. any other ideas?
 

Alexandre

Registered User.
Local time
Today, 12:14
Joined
Feb 22, 2001
Messages
794
I believe you should try to find how to simplify your report (less subreports, less queries). hard to do better suggestions without having an idea about what you've got in your hands. Can you upload something?
 

Users who are viewing this thread

Top Bottom