473,473 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

query to new table

42 New Member
This seems like there would be a simple save as new table in access to me but I cant seem to find it. I am running a query to get specific results using sql. How do I save those results as a new table. I just need to seperate two groups of information and use it for a mail merge.

Expand|Select|Wrap|Line Numbers
  1. SELECT vinno, make, ownername, address, suburb, state, pcode
  2. FROM [FULL]
  3. WHERE make like '*iload*';
Is there a command to create a table and insert query results into that new table first ?

I can do this just by using excell and filtering then cut and past a new sheet but I prefer to be able to do it all in access.

Thanks for your help.
Apr 15 '08 #1
3 1238
Big X
42 New Member
Ow man I spend a hour looking on google for solution so I jump on here and post. 2 minutes later I find a solution lol. Why that alway happen :).


Expand|Select|Wrap|Line Numbers
  1.  SELECT vinno, make, ownername, address, suburb, state, pcode INTO iload
  2.  
  3.       FROM [FULL]
  4.  
  5.       WHERE make like '*iload*';
Apr 15 '08 #2
JustJim
407 Recognized Expert Contributor
Ow man I spend a hour looking on google for solution so I jump on here and post. 2 minutes later I find a solution lol. Why that alway happen :).


Expand|Select|Wrap|Line Numbers
  1.  SELECT vinno, make, ownername, address, suburb, state, pcode INTO iload
  2.  
  3.       FROM [FULL]
  4.  
  5.       WHERE make like '*iload*';
Hi,
Well yes you can do that, but why make a new table just for a mailmerge? Why not use the query as a mailmerge source? Write the query that gets the data you want and save it. It is now available as a mailmerge source. The advantage, of course is that if the data in your main table changes, the query reflects those changes where the new table would have to be "re-made" in order to do that.

Jim
Apr 15 '08 #3
Big X
42 New Member
I actually did try that. When I preformed the merge using the query it had no data in it when I was in word. I checked back in access and loaded the query and it was working fine. Not sure what the problem there is. I have a play around with it.
Apr 16 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Harvey | last post by:
Hi, I try to write an asp query form that lets client search any text-string and display all pages in my web server that contain the text. I have IIS 6.0 on a server 2003. The MSDN site says...
3
by: GL | last post by:
Hi, Is there a way to add a field to an existing table using a query of some sort (without needing to manually add a field to the table). I know how to do it with a make table query, but I have...
4
by: Brian | last post by:
I hope this will make sense. I'm trying to filter the records in a table based on records in a 2nd table. The trick is, I can't use a query. I'm trying to filter down the number of records going...
6
by: jjturon | last post by:
Can anyone help me?? I am trying to pass a Select Query variable to a table using Dlookup and return the value to same select query but to another field. Ex. SalesManID ...
3
by: cover | last post by:
I have a table with 50 fields that receive input depending on whether that input came in from a 'shaker' form or a 'conveyor' form. Input from the 'conveyor' form might populate 25 fields while...
24
by: clare at snyder.on.ca | last post by:
I have a SQL query I need to design to select name and email addresses for policies that are due and not renewed in a given time period. The problem is, the database keeps the information for every...
5
by: Wired Hosting News | last post by:
I tried to be breif and give a scenario so as not to be overlooked because it was soooo long. Let me give you real world. I am a manufacturer of goods and produce 11 items that are distributed...
2
by: John T Ingato | last post by:
If I run a query that calculates the sales data for all the inventory level in a table, how do I go about saving that sales data into a permanent table? I plan I using this sales data often, and...
0
by: phlype.johnson | last post by:
I'm struggling to find the best query from performance point of view and readability for a normalized DB design. To illustrate better my question on whether normalized designs lead to more complex...
11
by: funky | last post by:
hello, I've got a big problem ad i'm not able to resolve it. We have a server running oracle 10g version 10.1.0. We usually use access as front end and connect database tables for data extraction....
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.