Solved

Cannot open any more tables (ADO/Access)

Posted on 2001-07-19
7
342 Views
Last Modified: 2013-12-25
Hi,

I am currently experience a problem in an application which returns the above error message. I am connecting to a Jet 4.0 Access database using ADO. I have installed MDAC 2.61 and have all the latest required service packs. My application receives information from the network and does a lookup in a database.

When the function is executed, it creates new instances of a command object and recordset object. The command object then accesses the procedures collection of a catalogue to get to a precreated querydef. The recordset is then set to the result of the command object.

At the end of the function, I close the recordset and set both the command object and the recordset to nothing explicitly.

Has anybody else experienced this problem and do you know the solution?
0
Comment
Question by:BobbyOwens
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6299532
Because you are using Access and ADO 2.6, have you installed the JetPackn 4.0? http://www.microsoft.com/data/download.htm#Jet4SP3info
0
 
LVL 2

Author Comment

by:BobbyOwens
ID: 6301196
Yes I have. I have also installed Service pack 5 for Jet 4.0
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6303294
What is the error number?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Author Comment

by:BobbyOwens
ID: 6316213
The various numbers from the error object are as follows:

SLQState: 1311
Err.Number: -2147467259
Connection.Errors(0).number: -85853471
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 200 total points
ID: 6326963
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6331544
Please maintain.

Questions Asked 5
Last 10 Grades Given B B  
Question Grading Record 2 Answers Graded / 2 Answers Received
0
 
LVL 2

Author Comment

by:BobbyOwens
ID: 6333178
Sorry about that, didn't have a chance to check the pages until today.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question