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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run queries on open

Status
Not open for further replies.

allong

Technical User
May 2, 2003
40
US
I have a table query which I have to update everytime new information is put into the database. The report that comes from this query has two other queries that is needed to actually get my information. I want to click on the report and automatically update call queries before the report opens. Is this possible?
 
Yes, just put this code behind your print button BEFORE the code that prints the report:

docmd.openquery "qryname"

Hope this helps.

Jim DeGeorge [wavey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top