The following is a very basic merge, it assumes the data structure is the same for all combined tables.
Using this method Access provids no feedback on the results of the merge.
Quick and dirty!
What do you mean by "drop" on step 7?
what do I do there?
@Ginger
DROP is SQL lingo
DROP = delete/remove
Hello.. I have 4 tables that I want to combine into one table however, all 4 tables only have 5 fields/columns in common. Each of the 4 tables have anywhere from 10-20 more fields/columns that need to be combined into the single table.
Everything that I have read so far about joins/appends/merges require all fields to be the same across all tables to be combined into one.
Is there a way to combine multiple tables that have different fields?
@chuck - It sounds like you understand the basics of the syntax you need to use. You should be able to join multiple different tables so long as the field names are the same in the SQL STATEMENT. That means in your SQL statement you need to SELECT only the fields that you want to match, in the order.
Here's a good example on the MS office site:
http://office.microsoft.com/en-us/access-help/examples-of-union-queries-mdb-HP005188052.aspx
Hope that helps.
Question - what if I have duplicate data in my tables? I tried to export into Excel, remove duplicates, and import back in. But...I received some validation issues and if a txt field is too long, it only
brings in a portion of the data.
Thanks,
Steve
@Steve: If maintaining the data type is not required you can try importing into a NEW table with all text type fields (each should be as long as necessary to accomodate all the data). I usually remove duplicates by using a query. A DELETE query to do that would be data specific, but I'm assuming there is at least one fields that can be matched to determine a duplicate record. If you're still unable to get that to work please contact me directly and I can possibly take a look for you.
Here a link to a tool that helps to automate this task. It is called AccdbMerge: https://sites.google.com/site/accdbmerge/
How do you merge/combine two columns. And try to put your answer in simple terms. Thank you.
@MissBad, sorry but I do not know of an easy way to combine column data. Typically I would do it by creating a new column and executing a query to combine the data from two or more columns into a third column. The query to combine the two columns would be specific to your data requirements.
An information technology professional with twenty five years experience in systems administration, computer programming, requirements gathering, customer service, and technical support.
9 Comments