You could use the timer event of a form, but the mdb would have to be left running all night. You could also have problems if multiple users used the app, as the code could run more than once. I'd create a utility mdb that just ran your 2 queries when it opened, then closed itself. Then I'd run that mdb with Windows Scheduled Tasks every day at the desired time.