By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,824 Members | 1,247 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,824 IT Pros & Developers. It's quick & easy.

Could not find installable ISAM Error

P: n/a
Hi, each time I use that code for calculating a number of user connected to
a data file, I get an error message:
Could not find installable ISAM. What do I do wrong?

Dim cn As New ADODB.Connection
Dim cn2 As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim intUserCount As Integer
Dim strPassword As String

strPassword = ";PWD=" & gcDatabasePwd
cn.Provider = "Microsoft.Jet.OLEDB.4.0"
cn.Open "Data Source=" & strBackEndFileSpecs & strPassword

cn2.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
strBackEndFileSpecs & strPassword

Set rs = cn.OpenSchema(adSchemaProviderSpecific, ,
"{947bb102-5d43-11d1-bdbf-00c04fb92675}")
While Not rs.EOF
intUserCount = intUserCount + 1
rs.MoveNext
Wend

gUserCount = intUserCount
End Function
Mar 17 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Fri, 17 Mar 2006 21:50:34 +0300, "Anatoly Kurilin" <ak******@nordsoft.ru> wrote:
Hi, each time I use that code for calculating a number of user connected to
a data file, I get an error message:
Could not find installable ISAM. What do I do wrong?

Dim cn As New ADODB.Connection
Dim cn2 As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim intUserCount As Integer
Dim strPassword As String

strPassword = ";PWD=" & gcDatabasePwd
cn.Provider = "Microsoft.Jet.OLEDB.4.0"
cn.Open "Data Source=" & strBackEndFileSpecs & strPassword

cn2.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
strBackEndFileSpecs & strPassword

Set rs = cn.OpenSchema(adSchemaProviderSpecific, ,
"{947bb102-5d43-11d1-bdbf-00c04fb92675}")
While Not rs.EOF
intUserCount = intUserCount + 1
rs.MoveNext
Wend

gUserCount = intUserCount
End Function


Not sure about your particular case but the KB has quite a few articles on this error. Do a Google
search on
access "Could not find installable ISAM" kb

Mar 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.