Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

OLEDB Problem

Posted on 2002-06-17
6
Medium Priority
?
336 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
[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
6 Comments
 
LVL 23

Expert Comment

by:Roshan Davis
ID: 7083438
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
ID: 7083450
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 70

Expert Comment

by:Éric Moreau
ID: 7083559
how many rows?

do you have a where clause?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

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

Expert Comment

by:DanRollins
ID: 7911072
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
ID: 7967865
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

610 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