G
George
I get a "type mismatch" error with the following code:
dim rst as recordset
set rst = DBEngine.Workspaces(0).Databases
(0).OpenRecordset("tblName") - all on one line
I have tried currentdb in place of DBEngine.Workspaces
(0).Databases(0) and setting up a string containing a
select statement. All variations produce the same
error. Can anyone help?
dim rst as recordset
set rst = DBEngine.Workspaces(0).Databases
(0).OpenRecordset("tblName") - all on one line
I have tried currentdb in place of DBEngine.Workspaces
(0).Databases(0) and setting up a string containing a
select statement. All variations produce the same
error. Can anyone help?