Solved

ADO connectstring problem, Openlink ODBC to Oracle

Posted on 2000-03-23
1
662 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
[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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

710 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