Solved

ADO connectstring problem, Openlink ODBC to Oracle

Posted on 2000-03-23
1
609 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
LINQ return type for nested group query 6 59
DIR issue 7 45
JSON Response and request in VB6 application 11 122
Copy a row 12 52
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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

763 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

13 Experts available now in Live!

Get 1:1 Help Now