D
|
david22585 5/17/2020 |
Hi Everyone, I have a Client form where I want to check the database for potential duplicate records when users are ADDING a NEW CLIENT after the Client's Last name is entered and perform the same duplicate record once the address has been completed. My process that I'm looking at is:
|
R
|
RBrogen author 5/18/2020 |
Sure thing David! Here's my current code breakdown:
|
D
|
david22585 5/20/2020 |
Sure thing David! Here's my current code breakdown:
|
R
|
RBrogen author 5/21/2020 |
No problem. I'll play with it the next day or two to see what I can come up with.
|
T
|
thamestrader 5/30/2020 |
Just wondered if you had considered doing it the other way around. Force the user to enter the name and search for the name, display a list of all the records found, user then has the option to ADD a new client or to update an existing client. There is still the possibility of a duplicate, which has to be checked for and the user given the option to either continue with the ADD. The advantage I see to doing it this way is that the user doesn't have to enter all the data before being informed its a duplicate. |
K
|
keithh0427 5/30/2020 |
For what it's worth...
|
R
|
RBrogen author 5/30/2020 |
Just wondered if you had considered doing it the other way around. Force the user to enter the name and search for the name, display a list of all the records found, user then has the option to ADD a new client or to update an existing client. There is still the possibility of a duplicate, which has to be checked for and the user given the option to either continue with the ADD. The advantage I see to doing it this way is that the user doesn't have to enter all the data before being informed its a duplicate.
|
D
|
david22585 5/30/2020 |
I've worked a little on it, but couldn't get your code to work on my "test" area. I'm still trying a few different ways. |
R
|
RBrogen author 5/31/2020 |
I've worked a little on it, but couldn't get your code to work on my "test" area. I'm still trying a few different ways.
|
T
|
thamestrader 7/9/2020 |
Hey Thamsytader: The last and first names are actually the first thing it needs to search on after being entered to see if there is a potential match. If not then it checks the address fields as they are entered for potential matches. So it needs to do both because we have people with different last names at same address or new client at old clients address etc. We photograph a job which has literally hundreds of orders all needing to be entered as quickly and accurately as possible. We have been doing this for over 10 years so a large portion of the people are in our systems after a job UNLESS it is a new sports league/dance studio etc. In that case there are many clients who are not going to be already in the system. Our old system prompted after each of those sets of fields were entered with a list of potential duplicates.
$pageObject->setProxyValue("Show_Button", False);
if (proxy['Show_Button']== false) {
|