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

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

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?

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

ResolvedVersion 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:

Hide Access Tables

One method of stopping your Access tables appearing in Database window, is to rename the table(s) with the prefix usys.

This converts the table into a system object, which cannot be viewed in the Database window.

You can show system objects in the Database window by the following:

Step 1: On the Tools menu, click Options.
Step 2: Click the View tab.
Under Show, select the System Objects check box.
Click OK.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.