Bilbo_Baggins_Esq
Registered User.
- Local time
- Today, 07:02
- Joined
- Jul 5, 2007
- Messages
- 586
Argh, I know I am missing something simple, but for some reason, I am getting a "Type Mismatch" error on this code:
This is an Access 2003 DB running in Access 2007 on XP
The query being called is a "Totals" query.
Both it and the underlying table are "visible".
as always, any help is appreciated.
Code:
Dim ws As Workspace, db As Database, rs As Recordset
Set ws = DBEngine.Workspaces(0)
Set db = ws.Databases(0)
[COLOR="Red"][B]Set rs = db.OpenRecordset("T_I_Adjust_Count_Of_Renters", dbOpenDynaset)[/B][/COLOR]
This is an Access 2003 DB running in Access 2007 on XP
The query being called is a "Totals" query.
Both it and the underlying table are "visible".
as always, any help is appreciated.