Solved

Cnnecting to Oracle & Access databases

Posted on 2000-04-02
4
217 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

730 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