Solved

Cnnecting to Oracle & Access databases

Posted on 2000-04-02
4
221 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
[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
  • 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

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.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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 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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

729 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