Solved

ADO connectstring problem, Openlink ODBC to Oracle

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month7 days, 9 hours left to enroll

632 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