Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Could not find installable ISAM

Author  Topic 

jpiscit1
Posting Yak Master

130 Posts

Posted - 2004-08-06 : 09:52:04
Ok. I am ready to pull my hair out on this one. I hope someone can help.

I am developing an MS Access 2000 DB as a front end for a SQL 2000 DB. I am attempting to use code to dynamically connect my SQL Tables. The problem is, when I run the code I get a "Could not find installable ISAM 3170 error".

Now, I have followed the instructions under Microsofts website here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;209805
Including running the Office 2000 repair. I have re-registered the dll's as required. Im stuck!

My Access DB has a reference to Microsoft DAO 3.6 Object Library and I am using code taken from here
http://www.mvps.org/access/
to dynamically connect the databases.

Can anyone shed some light on what may be going on here ???

Thanks in advance.

Stoad
Freaky Yak Linguist

1983 Posts

Posted - 2004-08-07 : 20:00:16
This works fine:

Sub tt()
Dim td As TableDef

'DoCmd.DeleteObject acTable, "newTable"

Set td = CurrentDb.CreateTableDef("newTable")

td.Connect = _
"ODBC;driver=sql server;server=z;database=bz;uid=sa;pwd=;"

td.SourceTableName = "t"

CurrentDb.TableDefs.Append td

Set td = Nothing


End Sub
Go to Top of Page
   

- Advertisement -