Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Create table from query

Posted on 2011-04-18
4
Medium Priority
?
310 Views
Last Modified: 2012-05-11
I have a query I want to create a table from with the results.

This table will be used by an application outside of Access.

If you need more info let me know.

Thanks,
Brooks
0
Comment
Question by:gbnorton
  • 2
  • 2
4 Comments
 
LVL 44

Accepted Solution

by:
GRayL earned 2000 total points
ID: 35419861
Assuming your query is a saved query named myQuery, this SQL should do it:

SELECT * INTO myTable FROM myQuery;
0
 

Author Comment

by:gbnorton
ID: 35426871
GRayL,
Thank you.  How can I add that to a command button?
Brooks
0
 

Author Closing Comment

by:gbnorton
ID: 35436094
Thank you
0
 
LVL 44

Expert Comment

by:GRayL
ID: 35437711
Thanks, glad to help.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
A Case Study of using the Windows API to provide RS232 communications capability in Access without the use of Active-X controls.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

564 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