The way I have handled this is to set up Norton or Windows scheduler to open your application at a specific time, then on open of the application write some code to check for the time. If the time is beteen 3:55 and 4:05 AM then execute your process.
well, they way i would do it... (not saying JeanineScott isn't doing it a good way...) is to have windows scheduler (or any program scheduling app) run the database with a command line switch... because that way it will exit back out when it's done... this way you can also put in a username and password if it's a secure database... that, and i'm not good at programming good luck...
--Junior JHauge@jmjpc.net
Life is change. To deny change is to deny life.
Are you saying that scheduler can automatically close your application for you too? How does it know when your process is finished? I have it open the app (via the command line) and then when my process is done I exit the app via code. (docmd.quit) Is there another way to do it? New options are always fun to try!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.