Help with connecting to Ingres through ODBC. 
Author Message
 Help with connecting to Ingres through ODBC.

Hi!

I have a CA-OpenIngres 2.80 ODBC driver and I am trying to setup a
connection to Ingres database
in VB 6 using ADO. (Works through MS Access.)

Dim cn as ADODB.Connection
Dim connstr as String
Dim rs As ADODB.Recordset

Connstr =
"driver="{CA-OpenIngres}";uid=*******;pwd=******;server=mydatabse;"

Set cn = New ADODB.Connection
With cn

            .ConnectionString = connstr
            .Cursorlocation = adUseClient
            .Open
End With

I am getting an error: Insufficient connect information and dialog
prohibited.
If anyone could help me with the correct order of parameters or correct
connection string
I would really appreciate it.

Thank you in advance!



Sun, 17 Apr 2005 04:51:08 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Connecting vb4 to an ingres database using datadirect odbc driver

2. HELP: Connect to Ingres Data Base from Visual Basic .NET

3. Intersolv ODBC with Ingres 6.4/04

4. ODBC Drivers Ingres 6.4 Database

5. ODBC driver for Ingres searched

6. Ingres/ODBC rec fetch in 2 secs ?

7. Need HOT ODBC driver for Ingres !

8. VB, Ingres, ODBC problem

9. VB5 / ODBC / Ingres question

10. HELP: Data Access Objects w/ ODBC connected to Oracle Database

11. Help: Problem connecting VB3 app to Access 2.0 w/ODBC in Win-OS/2

12. HELP: Simple ODBC Connect Problem

 

 
Powered by phpBB® Forum Software