The MXDNAME routine applies logic to two (2) records, when the name form values are different. This logic is similar to that used for the SUBSTRNG routine. For this routine to work, the window keys must not contain the name form value.
The MXDNAME routine requires the following three fields:
Field1 |
Name form field |
User-specified field position. May contain only certain values: (1=personal name, 2=business name and 3=name reject). |
Field2 |
First field in Record 1 |
Compared to the Record 2 data in this field when used in comparisons of 2 personal records (when both name forms = 1).
Compared to the data in Field 3 on Record 2 when comparing a personal record to either a business or reject record (name form 1 versus name forms 2 or 3). |
Field3 |
Second field |
Compared to the data in this field in Record 2 when used in comparisons of 2 business and/or reject records (both name forms = 2 and/or 3).
This field in Record 1 will be compared to the data in Field 2 on Record 2 when comparing either a business or reject record to a personal record (name forms 2 or 3 versus name form 1). |
The routine performs the following test only if the form field value is different between the two (2) records.
Score |
Description |
---|---|
100 |
First string is exactly the second string. |
99 |
First string resides at the beginning of the second string. |
98 |
First string resides at the end of the second string. |
97 |
First string resides within the second string. |
0 |
Any other value. |