Hey Folks,
I developed a access database program a while back for a non-profit government agency; the tool works just fine and simply accepts a user entered valid date and then the user hits a command button that transfers files to certain locations depending on date entered by the user. Is there a way to create some sort of timer so that this tool and the code within can be launched say every day at 12 midnight? I know that with .exe, .bat, batch files, and what not you can create a scheduled task that will execute the code without user intervention; however, is this possible with code in Microsoft Access modules, and if so, how would I accomplish that? If I found out how to automatically execute the code within the access file, I would just replace the user entered date with the system date to achieve the same goal. Any help would be greatly appreciated. Although if I needed to, I suppose I can use visual basic to create a .exe with the code and just use the scheduled task feature in windows to run that executable every day; but if something exists in Access I would rather use that instead.
Thanks,
Joe
I developed a access database program a while back for a non-profit government agency; the tool works just fine and simply accepts a user entered valid date and then the user hits a command button that transfers files to certain locations depending on date entered by the user. Is there a way to create some sort of timer so that this tool and the code within can be launched say every day at 12 midnight? I know that with .exe, .bat, batch files, and what not you can create a scheduled task that will execute the code without user intervention; however, is this possible with code in Microsoft Access modules, and if so, how would I accomplish that? If I found out how to automatically execute the code within the access file, I would just replace the user entered date with the system date to achieve the same goal. Any help would be greatly appreciated. Although if I needed to, I suppose I can use visual basic to create a .exe with the code and just use the scheduled task feature in windows to run that executable every day; but if something exists in Access I would rather use that instead.
Thanks,
Joe