Forum Discussion
smith477
Feb 09, 2023Copper Contributor
Error 3048 when exporting
Hello, I am attempting to export a database to an excel file. Access creates an empty file, and throws the error "Cannot open any more databases", which from what i've seen so far, is error 3048...
Tom_van_Stiphout
Feb 10, 2023Iron Contributor
Should this really be "UNION", or "UNION ALL"?
You are very likely running into the max complexity for an Access query.,
As others have said: a discussion of your database design may be in order. Be open to that, please.
If you don't want to go there: turn the first query into MakeTable, and the others into Append queries, then export the table. A horrible solution in my book, but it would get the job done without errors.
You are very likely running into the max complexity for an Access query.,
As others have said: a discussion of your database design may be in order. Be open to that, please.
If you don't want to go there: turn the first query into MakeTable, and the others into Append queries, then export the table. A horrible solution in my book, but it would get the job done without errors.
- MendipDataSystemsFeb 11, 2023Brass Contributor
Hi. Nothing much to add to the above suggestions but glad you found my available connections add-in useful, if only to eliminate one possible reason for your current issue.
You may also wish to investigate increasing the MaxLocksPerFile and MaxBufferSize settings.