jcaptchaos2
Well-known Member
- Joined
- Sep 24, 2002
- Messages
- 1,032
- Office Version
- 365
- Platform
- Windows
I know there is issues with creating access databases in 2010 and then not being able to open them with 2007 but wanted to know if there is a way to not my code stop at the debugger on this part of the code when running it on a machine with 2007. I tried installing access runtime 2010 on the pc with office 2007 but the code still stops here. It runs fine with any machine that has 2010.
Code:
Set MyDatabase = DBEngine.OpenDatabase _
("N:\Fishbowl Databases\Time Clock Min.accdb")
Set MyQueryDef = MyDatabase.QueryDefs("Payroll Time Detail by Dept-Shift")