Hi everybody,
Version: [Crystal Reports 8.5]
I'm still fairly new to Crystal Reports, so please be thorough in your explanation.
I'm working with a back-end database that has a list of people's names in it. I know I need to group the people by department and I think I'm probably going to need to group by person as well.
I need to compare the people's names in each department with the other people in the department and return those people that have similar names. I only want to return names that are similar by a percentage of 50% or more.
My thinking is that the report will compare and return a percentage similar for all persons in the department and will suppress the people that aren't greater than or equal to 50%.
I've programmed string comparisons for exact matches in C++, but I've never done similar names based on a percentage. Can this be done? I've been racking my brain and don't know where to begin.
I really appreciate the help...
Version: [Crystal Reports 8.5]
I'm still fairly new to Crystal Reports, so please be thorough in your explanation.
I'm working with a back-end database that has a list of people's names in it. I know I need to group the people by department and I think I'm probably going to need to group by person as well.
I need to compare the people's names in each department with the other people in the department and return those people that have similar names. I only want to return names that are similar by a percentage of 50% or more.
Code:
For example:
Smith, John and Smith, John A. would be approximately 95% similar
while
Smith, John and Smith, William J. would be about 25% or so similar.
My thinking is that the report will compare and return a percentage similar for all persons in the department and will suppress the people that aren't greater than or equal to 50%.
I've programmed string comparisons for exact matches in C++, but I've never done similar names based on a percentage. Can this be done? I've been racking my brain and don't know where to begin.
I really appreciate the help...