Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old April 4th, 2006, 01:38 PM
Registered User
 
Join Date: Apr 2006
Location: pe, , South Africa.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default merge data in tables-access 2003

hi. i am not sure if i am in the right area here but if not please point me in the right direction.
i am very new to access and am working on a project that is causing me to rip out my hair.
here goes...we work on telephone directory publications and this is split into 19 different regions hence we should only have 19 tables in our database but as staff send out mail they split these tables into smaller tables to such an extent that no one has a clue as to which is the original. our amendments are also done on these tables but due to a high staff turnover, people just click onto a region and update the info on the first table under that region resulting in updates and amendments being done on all these different tables.
I need to somehow merge these tables for each region and delete all the duplicates!! anyone out there....help please!!!

  #2 (permalink)  
Old April 5th, 2006, 01:31 AM
Friend of Wrox
 
Join Date: Jul 2005
Location: Oklahoma City, OK, USA.
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

All the data should be in a single table with a field for region. You do not need 19 tables, one for each region. This violates proper database normalization guidelines.

I would create a new blank with the correct table struture. Then link to the old databse and import the data into the new table using append queires.

Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com
  #3 (permalink)  
Old April 5th, 2006, 11:31 AM
Friend of Wrox
 
Join Date: Dec 2005
Location: , , .
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also, in order to prevent someone from entering Regions incorrectly and thereby messing up any views you have set up (Region1 view, Region2 view, All Regions view), you can make a second table that contains only the names of the regions and make it a pick list for the region field in the main data table.



Similar Threads
Thread Thread Starter Forum Replies Last Post
DataSet - Merge Data Tables srish ADO.NET 0 September 8th, 2007 10:04 AM
Forms and tables in Access 2003 marclf Access VBA 2 October 24th, 2006 07:10 AM
Whether or not to merge two tables chrislepingwell SQL Language 1 November 24th, 2005 06:18 PM
Word E-Mail Merge using Access Tables Richard Lally Access 2 February 7th, 2005 04:48 AM





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