You need to include more information in your question for others to fully understand your problem. (Also, please turn off your Caps Lock!)
If you are trying to use the Set command on a variable that is not an object you will get a type mismatch error. That's as helpful as I can be with the information you've given.
I would personally create new .mdb with this only table and try to run this code.
There is something in this database you may be spend a days guessing.
And always Compact !!!
Try to compact and rerun and then go as i said
We have to find cause
With Access 2000, ADO is the default instead of DAO (as it was with older versions). You will need to check which references you are using. If you do not have "Microsoft DAO 2.5/3.51 Compatibility Library" checked, then you need to fully quality your database and recordset objects as follows: (I don't use a database object here, only the current connection.)
<code>
Dim rst as ADODB.Recordset
Set rst = New ADODB.Recordset
rst.Open "TableName", CurrenctProject.Connection
</code>
Let me know if this helps.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.