Solved

Cnnecting to Oracle & Access databases

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pull multiple cvs files into one access table 28 68
Add and format columns in vb6 7 57
How to make an ADE file by code? 11 83
Export Data to Different .csv Files 26 105
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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

770 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