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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Duplicate Address

Status
Not open for further replies.

anon1971

Programmer
Joined
Aug 9, 2008
Messages
88
Location
US
I am trying to delete records that have the same address and I can not seem to get this to work. Any Help

DoCmd.RunSQL "DELETE * From MailingList2 WHERE DupAddress = (COUNT(*) > 1)
 
You must identify the primary key values of either the records you want to keep or discard. Figure this out and come back with more questions if needed.

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top