Solved

Cnnecting to Oracle & Access databases

Posted on 2000-04-02
4
185 Views
Last Modified: 2010-05-02
I already have a VB6 application that uploads MS Project data onto 2 Access databases. Now one database is convrted to  an Oracle db while the other remains in Access. This VB6 application has to connect to both the databases and upload data as required. So, how will I connet to the Oracle db? Thanks!
0
Comment
Question by:skuppanda
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
sadcock earned 50 total points
ID: 2678114
Skuppanda-

Do you connect to your Access DB using ADO?  If so you can connect to the Oracle DB in a similar fashion.  You must install the Oracle client software on the machine that will connect to Oracle and configure the connection through Net8EasyConfig.  After the Net8 connection is configured, simply add an ODBC entry for the new database and you can select, insert, and update it just as you would an Access DB.

-Scott
0
 

Author Comment

by:skuppanda
ID: 2687815
For Access I connect through DAO and probably for Oracle I've to connect through ADO as now I do not want to change the code much. So, within the single application can I use both ADO & DAO? Thanks!
0
 
LVL 1

Expert Comment

by:jflemin
ID: 2691513
You could also connect using Oracle Objects For OLE. That way you don't have to set up an ODBC connection, but either way works fine.
0
 
LVL 1

Expert Comment

by:sadcock
ID: 2698952
Skuppanda-

I can't say that I have done it but I do not see any reason you could not use ADO and DAO in the same program...they are simply COM objects.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we 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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

708 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

16 Experts available now in Live!

Get 1:1 Help Now