Autostart query every day

G

Guest

You don't say if you DB will be open - so I assume it will not (ie. a backup
at night, send reports overnight, etc)

You can use xmacro - something like this.

msaccess.exe PathToDatabase /x NameOfMacro

If I have not understand your question please answer with more details.
 
G

Guest

You understand my question right (sorry for my English) 10x for the reply,
but can you help me more about this macro. I dont understand VBA at all
 
G

Guest

Hi

I you have a form that is open all the time you can use the form's timer to
run the macro

Something like this

Private Sub Form_Timer()
If Time() = #12:01:00 AM# Then
'place code here'
End If
End Sub

If the databsae is not open all the time you can use windows scedualer to
run it for you.
See this link for help (sorry no time at the moment)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;230575

good luck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top