Sorry - just realised - for edit the duplicate check should only happen if that field is changed.
So on edit the check for duplicate post code should only happen if the post code is changed.
Also, the record being edited should not show up in the possible duplicates.
Sorry - just realised - for edit the duplicate check should only happen if that field is changed. So on edit the check for duplicate post code should only happen if the post code is changed.
Also, the record being edited should not show up in the possible duplicates.