Solved

Cannot open any more tables (ADO/Access)

Posted on 2001-07-19
7
340 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
  • 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Paint/Redraw window while dragging 16 83
VB6 Compile Compatibility Issue 4 115
Recommendation vb6 to vb.net or others 14 177
VB6 common control 6 sp6 object library not registerd 3 23
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

828 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