levi.rogers
New member
- Local time
- Yesterday, 21:38
- Joined
- Mar 8, 2007
- Messages
- 9
I am using information pulled from a separate database to create a new database for mail merger purposes. I have created delete queries that go out and delete specific records from the new database to help us get the proper list before setting up the mail merge. However, now I am stuck. We have customers that have multiple accounts with us that are qualified for this mailing, yet each customer needs to receive only one mailing.
The table looks like this essentially.
Table 1
id statCode acct custNumber* addy-etc.
*This is the field in which we can find exact duplicates. What I need to do is remove the duplicate entries and leave at least one of the entries within the table. It does in fact need to remove the whole record, but as I said leave at least one of the records behind.
Can someone please help me to find a solution to this.
I guess I should add that I am not very good with Access and I use it very sparingly.
I assume that the above can be accomplished using a SQL statement.
Any help will be greatly appreciated.
LR
**EDIT** I also needed to add that I do need to exclude 000 00 0000 from being removed because of duplication.
The table looks like this essentially.
Table 1
id statCode acct custNumber* addy-etc.
*This is the field in which we can find exact duplicates. What I need to do is remove the duplicate entries and leave at least one of the entries within the table. It does in fact need to remove the whole record, but as I said leave at least one of the records behind.
Can someone please help me to find a solution to this.
I guess I should add that I am not very good with Access and I use it very sparingly.
I assume that the above can be accomplished using a SQL statement.
Any help will be greatly appreciated.
LR
**EDIT** I also needed to add that I do need to exclude 000 00 0000 from being removed because of duplication.
Last edited: