get data from Sybase database by code not pass-through query

M

mark

Hi,
I am trying to set up a conection to a Sybase database through an ODBC
connection.
For Oracle I would use the following:

Set conn = New ADODB.Connection
Set rs = New ADODB.Recordset
Set rsr = New ADOR.Recordset
Dim i As Integer

With conn
.Provider = "MSDAORA"
.ConnectionString = "Data Source=empxxx;User ID=Scott;password=Tiger"
.Open
End With


What should I use for Sybase? What provider...?

Many thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top