advanced microsoft access training courses in london - auto run query linked

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Access Training and help » advanced microsoft access training courses in london - Auto run query when linked table changes? | Access forum

advanced microsoft access training courses in london - Auto run query when linked table changes? | Access forum

resolvedResolved · Low Priority · Version Standard

Kevin has attended:
Access Introduction course

Auto run query when linked table changes?

I have an append query and a delete query i would like to automatically run each time a linked table updates (linked to excel file).
This will add the data from the linked table to a master table which contains all records and the delete query just deletes null records.
Could you tell me the best way to proceed with this?
In access?
Or can an access query be run from and excel macro?

Many thanks, Kevin.

Edited on Tue 20 Feb 2007, 09:51

RE: Auto run query when linked table changes?

Kevin

You would need to run both queries from a Macro.

You would also need some VBA code to check if the linked table has updated so as to run the above Query macro.

Carlos


 

Access tip:

Related tables

When you have related tables such as Customers and their Orders, the Customer table is the Primary table.

Open the Customers table in datasheet view and go to the Home Tab and Records group. Click on the More option and choose Subdatasheet and then click on Subdatasheet again. Now choose the related table (Orders) and click ok.

Now you can click the + symbol by each company to show the related orders.

View all Access hints and tips


Server loaded in 0.09 secs.