Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ISAM errors

Status
Not open for further replies.

TRYP

Programmer
Jun 20, 2000
136
US
i am trying to connect to an Access 97 database using ADO

I am getting this error message " -2147467259 Couldn't find installable ISAM."

I dont have a clue.


My Code:

Private Sub Command1_Click()
On Error GoTo errorhandler

Dim conn As ADODB.Connection
Set conn = New ADODB.Connection

Dim recs As ADODB.Recordset
Set recs = New ADODB.Recordset

conn.ConnectionString = "persist security info=true;" & "provider=microsoft.jet.oledb.3.51;" & _
"data source=c:\database.mdb;" & _
"pwd=password;" & _
"uid=user;"
conn.Open
recs.Open "select * from TABLE", conn

Exit Sub
errorhandler:
Text1 = Err.Number & " " & Err.Description
End Sub

any ideas guys & gals ?
-tryp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top