Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete duplicate records in a table using a macro

Status
Not open for further replies.

confusedtim

Technical User
Jan 31, 2003
1
GB
I know how to automatically delete duplicate records from a table in Access manually, by copy/paste as, then use option to paste table structure only - add primary key to field you dont want duplicates in, then append original table to
new table. But I want to automate this procedure as part
of a macro. I can see the COPY and PASTE actions but can
I do PASTE AS - STRUCTURE ONLY using a pre-set macro ??

I dont know VBA yet, and will be importing text files each
day that will cause duplicate records in my access table

If you can help I would be very grateful, as Im going
round in circles and getting nowhere !!
Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top