If you going to have the permissions to install, setup and run a task
without
user intervention, then you need to have proper permissions to do this task.
The Simple solution here then, is to have macros of security set to low on
that machine.
The idea that you're going to run some code that sets the macro security to
low to allow you to run the code which defeats the security implications in
the first place is really kind of insanity here.
Simply put, you have the two choices for your boss:
1) you have employee come in who has proper rights and ability to run this
application, and they get paid to come in and run this application.
2) You need to give the computer permissions t run this stuff unattended.
Simple put, you need a macro security setting to low if you're going to have
this run properly. So, set your macro security to low and all the security
prompts and problems will be gone.
I just plain how to schedule set up a batch file in ms-access here:
http://www.members.shaw.ca/AlbertKal...obs/Index.html
The beauty of the above protest is that the above windows script will
actually execute a standard subroutine in a standard code module inside of
MS access. This means you don't have to fool around with silly command line
arguments etc.
the other approaches that over time you can modify your windows script to
execute Savr routines, it is at the end of the script that correctly in
nicely shuts down access when it's done.
So I recommend the above approach.
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)