Solved

Access Macro

Posted on 2011-03-25
3
168 Views
Last Modified: 2012-05-11
Hi,

I have an autoexec macro that i am looking to to a couple of things and one of them is to execute a make table query.

In the macro can i use OpenQuery to execute the make table?

Thanks
Seamus
0
Comment
Question by:Seamus2626
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 500 total points
ID: 35213729
Yes, put OpenQuery and put the name of the Make Table Query that you want to execute.

jppinto
0
 
LVL 33

Expert Comment

by:jppinto
ID: 35213736
Here's an example on how you can do it:

http://www.databasedev.co.uk/open-query-macro.html

jppinto
0
 

Author Closing Comment

by:Seamus2626
ID: 35213740
Thanks Jppinto
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question