Connecting Tech Pros Worldwide Help | Site Map

Appending Tables in Access

  #1  
Old November 12th, 2005, 03:33 PM
freeagent@ellsbury.com
Guest
 
Posts: n/a
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, 03:33 PM
Larry Linson
Guest
 
Posts: n/a

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, 03:34 PM
andybriggs
Guest
 
Posts: n/a

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
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Appending data to multiple Tables in Access 2003 Kimg0123 answers 5 October 15th, 2007 06:20 PM
FileSearch not working in Access 2003 stuart.medlin@ncmail.net answers 2 February 13th, 2007 01:35 PM
Appending Tables: Eli Sidwell answers 1 November 13th, 2005 05:28 AM
List box works in Access 97 but not 2000 and Other Weird Issues Miguelito Bain answers 0 November 12th, 2005 09:03 PM