Solved

ADO connectstring problem, Openlink ODBC to Oracle

Posted on 2000-03-23
1
624 Views
Last Modified: 2012-05-12
I have setup an OPENLINK ODBC connection to ORACLE:
Datasource Name: PRODUCTION
Provider Type: Oracle PimsP
Provider Protocal: TCP/IP
Provider Hostname:pims

The VB code is as follows:

Dim connADO As ADODB.Connection
Set connADO = New ADODB.Connection

connADO.ConnectionString = "driver={OpenLink for Win32};server={Oracle PimsP};UID=pims;PWD=lppepg12;database=pims"

connADO.Open

I get an overflow error 6.

These are my early painly ADO days and any recommendations as to what might be wrong will be gratefully received.  I have tried many different combinations!!

Thanks in advance

TheDane
0
Comment
Question by:TheDane
1 Comment
 

Accepted Solution

by:
Conon earned 100 total points
ID: 2649989
The ODBC driver DSN should take care of the data base/server details, and the connection string would look something like this:-

DSN=PRODUCTION;UID=pims;PWD=lppepg12
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

896 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