dbTalk Databases Forums  

Scheduling Access query

comp.databases.ms-access comp.databases.ms-access


Discuss Scheduling Access query in the comp.databases.ms-access forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
ARGroup
 
Posts: n/a

Default Scheduling Access query - 01-03-2008 , 11:22 AM






Hi all
Is there any method to schedule Access queries to run regularly?If yes
pls mention how it is being done?

Reply With Quote
  #2  
Old   
Bob Alston
 
Posts: n/a

Default Re: Scheduling Access query - 01-03-2008 , 11:28 AM






ARGroup wrote:
Quote:
Hi all
Is there any method to schedule Access queries to run regularly?If yes
pls mention how it is being done?
YOu can set them up in a separate access database and run from an
autoexec macro. That way you can use the Microsoft windows scheduler.
I recently used this approach for the first time and it works well.


Reply With Quote
  #3  
Old   
Fred Zuckerman
 
Posts: n/a

Default Re: Scheduling Access query - 01-03-2008 , 11:31 AM



"Bob Alston" <bobalston9 (AT) yahoo (DOT) com> wrote

Quote:
ARGroup wrote:
Hi all
Is there any method to schedule Access queries to run regularly?If yes
pls mention how it is being done?

You can set them up in a separate access database and run from an autoexec
macro. That way you can use the Microsoft windows scheduler. I recently
used this approach for the first time and it works well.
Or you could use a form and the timer event.
Fred Zuckerman




Reply With Quote
  #4  
Old   
ManningFan
 
Posts: n/a

Default Re: Scheduling Access query - 01-03-2008 , 01:46 PM



On Jan 3, 11:22*am, ARGroup <heerab... (AT) gmail (DOT) com> wrote:
Quote:
Hi all
Is there any method to schedule Access queries to run regularly?If yes
pls mention how it is being done?
Both methods mentioned work perfectly when set up properly. It
depends on what exactly you're trying to do.

Is this something that you plan to run over the course of the day?
Is this something that you plan to run only when the database is
open?
Is this something that you need run on a network, no matter what the
time of day?

Depending on the responses the most efficient way to do this can be
proposed.


Reply With Quote
  #5  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Scheduling Access query - 01-03-2008 , 09:28 PM



"ARGroup" <heerabiji (AT) gmail (DOT) com> wrote

Quote:
Hi all
Is there any method to schedule Access queries to run regularly?If yes
pls mention how it is being done?
I explain how to run ms-access code via a script which is happily run by the
windows scheduler...


http://www.members.shaw.ca/AlbertKal...obs/Index.html


So, simply place some code in a standard module that runs the sql you want.

Public Sub MySqlToRun

currentdb.Execute "name of query"

end sub


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal (AT) msn (DOT) com




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.