How to Trigger MS Access Code based on specific time of day rather than every second or minutes

前端 未结 3 1404
小鲜肉
小鲜肉 2021-01-25 02:10

I have been trying to pull this off and maybe I am getting close. I have some code in Access I need to Run at a specific time of day. I do not want to use Windows Task Scheduler

3条回答
  •  囚心锁ツ
    2021-01-25 02:14

    Change Format(Now(), "HH:MM:00") to Format(Now(), "HH:MM:SS") This will give you the seconds which is what you seem to be looking for. As a best practice, I don't think it is a good idea to run this every second. Maybe every minute or quarter hour and test it then.

提交回复
热议问题