I’m trying to update a table via code….I’ve used this code many times….(in A97) tho…..I’ve made the reference to DAO 3.6.
My table name is tblComExport
The following is the beginning part of the code….which is where it continues to bomb:
Dim DB As Database*********Fine
Dim rsLog As Recordset***********Fine
Set DB = CurrentDb()**********Fine
Set rsLog = DB.OpenRecordset(“tblComExport”)**********BOMB***********Error msg***************Runtime Error 13 Type MisMatch
With rsLog************Don’t Know ***can’t get this far*****
.AddNew
Any ideas or suggestions would be appreciated.
Thanks.