Connecting Tech Pros Worldwide Help | Site Map

Appending Tables in Access

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 02:33 PM
freeagent@ellsbury.com
Guest
 
Posts: n/a
Default Appending Tables in Access

Help!!


I am a complete Access newbie and I have to concatenate about 30
tables into one large table. All these tables have the same column
headings as each other.

For example, I have TABLE 1 which contains COLUMN1, COLUMN2, COLUMN3
....

and I have TABLE2 which contains COLUMN1, COLUMN2, COLUMN3 ...

and I want to produce TABLE3 where TABLE3 contains every row in TABLE1
and every row in TABLE2.

How can I do this?


Many thanks for any help you can give me!!


Graham





  #2  
Old November 12th, 2005, 02:33 PM
Larry Linson
Guest
 
Posts: n/a
Default Re: Appending Tables in Access

Create a standard SELECT query to retrieve the columns from TABLE2 using the
Query Builder. Then, in design view, on the menu Query | Append and enter
the name of TABLE1.Click the ! button on the Toolbar to run it. Repeat for
all the other tables.

Question: Will the records be uniquely identified if you just append them? I
ask because databases with that kind of duplication often use the tables
themselves as part of the identification of data -- if that is the case,
then you probably need to add a field to identify what the table name used
to identify before merging the data with Append Queries.

Larry Linson
Microsoft Access MVP


<freeagent@ellsbury.com> wrote in message
news:gjjapvgbgkd3nvbqo73sddpibdt0jeuhuq@4ax.com...[color=blue]
> Help!!
>
>
> I am a complete Access newbie and I have to concatenate about 30
> tables into one large table. All these tables have the same column
> headings as each other.
>
> For example, I have TABLE 1 which contains COLUMN1, COLUMN2, COLUMN3
> ...
>
> and I have TABLE2 which contains COLUMN1, COLUMN2, COLUMN3 ...
>
> and I want to produce TABLE3 where TABLE3 contains every row in TABLE1
> and every row in TABLE2.
>
> How can I do this?
>
>
> Many thanks for any help you can give me!!
>
>
> Graham
>
>
>
>[/color]


  #3  
Old November 12th, 2005, 02:34 PM
andybriggs
Guest
 
Posts: n/a
Default Re: Appending Tables in Access


Create an Append Query to append records from Table1 to Table 2, then
another to append Table 2 to Table 3 (or vice-versa, of course).



Hope this helps.


--
Andy Briggs
Elmhurst Solutions Limited
http://www.elmhurstsolutions.com


Posted via http://dbforums.com
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.