I'm trying to create a nightly job that will run a macro in an Access database. The database is called Stats.mdb and the macro is called mcrDaily. The single job step has a type of "Operating System Command" and has the following code:
"C:\Program Files\Microsoft Office\Office11\MsAccess.exe" \\garfield\Stats\Stats.mdb /x mcrDaily
I first tested a version of this job that only opened Access (just the code between the quotes). Nothing happened. Have I got the syntax wrong or is there another way to run Access from SQL code?
"C:\Program Files\Microsoft Office\Office11\MsAccess.exe" \\garfield\Stats\Stats.mdb /x mcrDaily
I first tested a version of this job that only opened Access (just the code between the quotes). Nothing happened. Have I got the syntax wrong or is there another way to run Access from SQL code?