Make table query

zogpound

New member
Local time
Today, 08:25
Joined
Aug 23, 2002
Messages
7
I want to make a single table from several tables that contain essentially the same fields, Problem is I want all fields and all the data in the tables. Access seems to only accept parts of the data. Is there a way to accomplish this?

Thanks, Eric
 
Union Query

Or a UNION Query...often I find this is the best way, since append query is an action query...meaning if your tables get new data in them, the append query wont automatically reflect that.

Can you write SQL code? If so I think the UNION query is best.

If not.... check out some examples of a union query...its not very tough to figure out
 
The UNION query looks like it will do the trick. I found an example and it doesn't look to difficult. My question is where do you actually write the SQL in Access for the query?
 
When you make a query...do not chose a table...then go to the query section of the menu bar and choose UNION QUERY. It will pull up the SQL Page...

Another way is: in the design view in the left hand corner, you should see the data sheet symbol with a drop down arrow beside it. if you click the drop down arrow, you will see where you can choose SQL.

My suggestion is choose the first table you want with all the fields. then click the SQL button. That starts the code off for you. Access goes a bit crazy by specifying the [tablename].[fieldname] for everything. You don't need to do that, but its a start at least
 

Users who are viewing this thread

Back
Top Bottom