I am tring to write a dbase in access that will import a text file into a table. I went to the m/s know. dbase and found a little script that will do exactly what I need.
ONE PROBLEM.
It is written for the Northwind dBase. I changed all of the variables to meet my needs...and it won't get be a centain line. It reads..
(Dim db As Database, rs As a Recordset... is in the beginning, it is fine)
Trouble spot...Set rs = db.OpenRecordset("TestImport", dbOpentable)
I get the "runtime error 13" type mismatch ??????
This same script works perfect in the Northwind Dbase, Just not in a "new" dbase....
What have I not turned on?
Scott
ONE PROBLEM.
It is written for the Northwind dBase. I changed all of the variables to meet my needs...and it won't get be a centain line. It reads..
(Dim db As Database, rs As a Recordset... is in the beginning, it is fine)
Trouble spot...Set rs = db.OpenRecordset("TestImport", dbOpentable)
I get the "runtime error 13" type mismatch ??????
This same script works perfect in the Northwind Dbase, Just not in a "new" dbase....
What have I not turned on?
Scott