Hi,
I have an access table with Direct Debit mandates. Three main headers - DD Ref, DD Start Date and DD Status.
There are duplicates in the DD Ref field where a customer has more than 1 mandate, but the DD Status is possibly different if there are more than one.
Essentially, I want a table with no duplicates in DD Ref where:
If no duplicate DD Ref - leave as is
If duplicate DD Ref, and one DD Status is Active - leave Active
If duplicate DD Ref, and both DD Status are the Same - keep newest DD Start Date
An ideas if / how this can be done?
Many thanks in advance.
I have an access table with Direct Debit mandates. Three main headers - DD Ref, DD Start Date and DD Status.
There are duplicates in the DD Ref field where a customer has more than 1 mandate, but the DD Status is possibly different if there are more than one.
Essentially, I want a table with no duplicates in DD Ref where:
If no duplicate DD Ref - leave as is
If duplicate DD Ref, and one DD Status is Active - leave Active
If duplicate DD Ref, and both DD Status are the Same - keep newest DD Start Date
An ideas if / how this can be done?
Many thanks in advance.