Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 8th, 2006, 09:21 AM
Registered User
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Merging Tables

Hey. I'm trying to merge many tables into one in Access but not quite sure how to go about it. Can anyone help me?

 
Old November 9th, 2006, 04:19 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

There are lots of ways to do that.

What do the tables look like and how are they going to be merged?

Can you do it in Excel?



mmcdonal
 
Old November 10th, 2006, 08:33 AM
Registered User
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are 13 tables with about 80 addresses in each and i need to make it into one big table. How would i do it in excel?

 
Old November 13th, 2006, 05:49 AM
Registered User
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

peace be upon you Charlotte89 and every reader

In order to merge several tables into one table there are two ways
    1-"Vertical merge" if the small tables have the same field names so you can merge them by an action query like the Append Query. Just create a copy of one of the tables (to be the core of others), then create an append query for another smallTable and execute it then change then name of the smallTable in the SQL view to the next one and so on.
    2-"Horizontal merge" if the small tables have different field names but only one common field, so merge them by making a relational Select query.

Best regards

Dr. Mohammad El-Nesr
Irrigation Systems Design Specialist
 
Old November 14th, 2006, 08:56 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Did you get this resolved? I have been out of work for several days and am catching up.

mmcdonal
 
Old November 22nd, 2006, 12:49 AM
Authorized User
 
Join Date: Nov 2006
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

use an append query then create a new table and append the table from the other tables, excel can pull from the new table OR create a query that queries all tables





Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging several tables woggysmith Access 2 December 12th, 2007 09:55 AM
Merging nodes trishla XSLT 11 October 18th, 2007 03:01 PM
merging feilds? dazednconfused SQL Server 2000 1 September 7th, 2006 05:38 AM
merging projects Bill_Thompson Beginning VB 6 1 April 26th, 2006 04:58 PM
Merging XML Help Please sam666 XML 7 March 8th, 2006 02:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.