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
 
Top