[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Missing Reference - Converting from 97 to 2000, Excel into Access

Posted on 2002-05-13
7
Medium Priority
?
171 Views
Last Modified: 2010-05-02
I have a VB program that exports Excel data into an Access database.
Our office just upgraded to Windows 2000 (we had 97).  The database converted perfectly - everything works fine.  However, I am having a problem with the export program (at least, I think that's what the problem is).
When I try to run it, it gives me a message something like "can't find object or library".  I did some research and found out that I am missing a DAO 2.5/3.5 Compatibility Library.  My question is, can I get this library from somewhere?  If I did, would that solve this problem?  Or should I update my code?  If I have to update my code, how do I know which lines are referencing DAO?  I am a relatively inexperienced VB programmer, so any suggestions will be helpful.  Thanks!
0
Comment
Question by:Mikayla
[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
7 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7007586
Yes, you could install mdac software fro Microsoft.
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 800 total points
ID: 7007588
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7007589
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Expert Comment

by:mani_m_in
ID: 7007864
Hi,
  MS-Access 2000 doesnot support the DAO 2.5/3.5 Compatibility Library. It supports only DAO 4.0 Compatibility Library. Try to update ur VB Code. You have to modify the code while Opening a Connecion Object. Change the DAO version 3.5 to 4.0 while opening a Connection object. I think this will solve ur problem.
0
 

Author Comment

by:Mikayla
ID: 7008545
That worked!  Thank you so much...I'll be able to sleep much better tonight!!
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 7008570
mani_m_in right in the first part, wrong in the second. You are confusing the OLEDB provider 3.51 and 4.0 with the DAO library. The correct version for Access 2000 of the DAO library is 3.6 rather than 3.5 or lower.

To resolve the issue you should be able to uncheck the references to the 2.5/3.5 compatibility library and check the 3.6 library instead.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7008582
Thanks for "A" grade.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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 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

656 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