|
-
Mar 26th, 2000, 06:28 AM
#1
Thread Starter
Addicted Member
that's the error im receiving here is my code:
Set mCN = New Connection
With mCN
.ConnectionString = "Provider=Microsoft.jet.oledb.4.00;datasource='c:\my documents\people.mdb'"
.CursorLocation = adUseClient
.Open
does anyone have an ideas what the problem could be; i would appreciate any help.
i have mdac 2.1 installed
-
Mar 26th, 2000, 01:58 PM
#2
Hyperactive Member
Use OLE DB provider 3.51
I've had this problem.. installed on a clean machine provider 4.0 is installed, but a machine where Office 97 already was installed had provider 3.51 installed, and my installation didn't install 4.0 :-(
I have an error handling like
On Error Resume Next
' open connection with provider 4.0
If Err.Number <> 0 then
' if that failed, try it withh provider 3.51
End if
-
Mar 26th, 2000, 07:55 PM
#3
Thread Starter
Addicted Member
now im getting:
"couldn't find installable isam" with both 3.51 and 4.00 when i call them through code
help
-
Mar 26th, 2000, 09:49 PM
#4
When you specify the OEDB provider for 4.0, you have extra 0 (zero) there.
Should be something like this:
Code:
cn.Provider = "Microsoft.Jet.OLEDB.4.0"
cn.Open "C:\MyDB.mdb", "admin", ""
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|