I have a duplicate query that produces sets of records that are duplicates based on 6 different fields.
My problem is that there is a seventh field that I need to use to limit some of the dups. This seventh field is a record identifier that is unique to the record. This field is not actually a number, but a string. Most of the record identifiers end in a zero, but on occasion can end in 'A'. When this happens, I have a record number '0000012340' and a record '000001234A'.
If two records are duplicates (based on the six fields) and both end in zero (or both end in 'A'), they are duplicates, but if one ends in zero and one ends in 'A', they are not duplicates.
I'm having a hard time figuring out how to put this constraint in my query. Any suggestions?
thanks.
My problem is that there is a seventh field that I need to use to limit some of the dups. This seventh field is a record identifier that is unique to the record. This field is not actually a number, but a string. Most of the record identifiers end in a zero, but on occasion can end in 'A'. When this happens, I have a record number '0000012340' and a record '000001234A'.
If two records are duplicates (based on the six fields) and both end in zero (or both end in 'A'), they are duplicates, but if one ends in zero and one ends in 'A', they are not duplicates.
I'm having a hard time figuring out how to put this constraint in my query. Any suggestions?
thanks.