PRMiller2
Technical User
- Jul 30, 2010
- 123
In running the sub below, I've encountered the following error: Run-time error -2147467259 (80004005), "Could not find installable ISAM."
I took a look at and followed the steps there to correct it, but to no avail. I did find this which leads me to believe it may be connection string related.
Any thoughts on the code I've posted? Could it be related to the space in my user name?
Access 2003
Lotus Notes 8.5.2
Lotus Notes SQL Driver 8.51.2009.1021
Code:
Sub OpenConnectionX()
Dim intCounter As Integer
Dim oCat As ADOX.Catalog
Dim oTable As ADOX.Table
Dim strConnString As String
Dim strLinkTable As String 'DB Table Name
Dim strLNTable As String 'LN Table Name
strConnString = "Driver={Lotus Notes SQL DRIVER (*.nsf)};" & _
"Server=App1/PTI;" & _
"Database=hps\nits.nsf;" & _
"Uid=Paul Miller/PTI;" & _
"Pwd=Password1"
strLinkTable = "LN_document"
strLNTable = "document"
Set oCat = New ADOX.Catalog
oCat.ActiveConnection = CurrentProject.Connection
Set oTable = New ADOX.Table
With oTable
.Name = strLinkTable
Set .ParentCatalog = oCat
.Properties("Jet OLEDB:Create Link") = True
.Properties("Jet OLEDB:Remote Table Name") = strLNTable
.Properties("Jet OLEDB:Cache Link Name/Password") = True
.Properties("Jet OLEDB:Link Provider String") = strConnString
End With
oCat.Tables.Append oTable
oCat.Tables.Refresh
Set oTable = Nothing
Set oCat = Nothing
End Sub
I took a look at and followed the steps there to correct it, but to no avail. I did find this which leads me to believe it may be connection string related.
Any thoughts on the code I've posted? Could it be related to the space in my user name?
Access 2003
Lotus Notes 8.5.2
Lotus Notes SQL Driver 8.51.2009.1021