Solved

OLEDB Problem

Posted on 2002-06-17
6
327 Views
Last Modified: 2010-05-02
Hi Experts,

I have a problem with OLEDB Connection.  I have a MSACCESS Table with 200 fields when i select a recordset using OLEDB it takes nearly 10 seconds fetch records.  Whereas it works good with ODBC.  My project is already built on OLEDB so I could not change now. Your help in solving this problem is very much appreciated. ( I use ADO 2.5 libraries with service pack 5)
0
Comment
Question by:vksharath
6 Comments
 
LVL 23

Expert Comment

by:Roshan Davis
Comment Utility
But in MSDN says

"You cannot call OLE DB interfaces directly from Visual Basic because OLE DB is a pointer-based interface. A Visual Basic-based client can access an OLE DB data source through ADO."

in the Topic "Accessing Heterogeneous Data with Microsoft SQL Server 7.0"

Roshmon
0
 
LVL 43

Expert Comment

by:TimCottee
Comment Utility
The issue I assume is that you are using OLDEB 4.0 with a Microsoft access 97 database. If you change the provider to 3.51 instead of 4.0 you should see a performance increase. The reason being that the OLEDB.4.0 provider is significantly slower at accessing older access databases than the specific provider for access 97. Don't ask me why, ask Microsoft!
0
 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
how many rows?

do you have a where clause?
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:vksharath
Comment Utility
No it is not with MS ACCESS 97.  It is with MS ACCESS 2000.
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
Hi vksharath,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

vksharath, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now