• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Cnnecting to Oracle & Access databases

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
skuppanda
Asked:
skuppanda
  • 2
1 Solution
 
sadcockCommented:
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
 
skuppandaAuthor Commented:
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
 
jfleminCommented:
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
 
sadcockCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now