Append Query

jrsarrat

New Member
Joined
Jul 8, 2018
Messages
47
Hello! I hope this post finds you well.

I have created an Append Query to append information from one table to another. I wanted to run the same query and noticed that the query would the append all records vs. the added new records. How to I get this query to append only new records, and not duplicates?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Consider:

yes, union sounds right:

select MyField from MyTable1
union
select MyField from MyTable2
union
select MyField from MyTable3
union
select MyField from MyTable4

The above query can be used as the basis for a make table query or an append query if you want to store the results in a table. Note that Union will remove duplicates by default (if by duplicates you mean all the fields in each row - some people confuse this with duplicates in only one of the fields).
 
Upvote 0
Build the append query,that uses the union query,
and set it to Unique values to remove dupes.
 
Upvote 0
if you are still having trouble post the SQL for your append query.
 
Upvote 0

Forum statistics

Threads
1,215,603
Messages
6,125,776
Members
449,259
Latest member
rehanahmadawan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top