Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

macros

Status
Not open for further replies.

Onslaughtdave

Programmer
Jan 24, 2005
59
CA
Hi,

Is there a way to trigger a macro whenever a query is run?

so eg, when any query is run the macro fires and does something...

thanks,

dave
 
you can launch the query and subsequent macro from a button (or other control) on a form. But no, a query in itself has no events that could fire anything else.

What are you trying to do? If you tell us more, maybe we can come up with a solution for you.

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
well,

im trying to use it as like a "last used" kinda thing. When they run the query it puts the date and time into a field somewhere else.

thanks,

dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top