chanman525
IS-IT--Management
I have a database that is actively used everyday and I have added code to send me a report from it that will be based on a day interval and a windows scheduler task to open the database, send me the report and then close.
Everything for the reporting works as intended when the sub is called and records last date ran so that it wont run everytime it is opened but should they open it and the interval to run has been exceeded then it will go ahead and run in the back ground.I want to keep it all contained in the same database however users use it everyday so I am looking for a way to setup the database so that I can call it from a scheduled task to open and send me the report and then close however not interfere with the users that open and close it everyday.
Hopefully this is more clear than a snow blizzard and I appreciate your time to help me out.
Everything for the reporting works as intended when the sub is called and records last date ran so that it wont run everytime it is opened but should they open it and the interval to run has been exceeded then it will go ahead and run in the back ground.I want to keep it all contained in the same database however users use it everyday so I am looking for a way to setup the database so that I can call it from a scheduled task to open and send me the report and then close however not interfere with the users that open and close it everyday.
Hopefully this is more clear than a snow blizzard and I appreciate your time to help me out.