Find and Display Duplicates

ThePoz

Registered User.
Local time
Today, 07:21
Joined
Jan 15, 2012
Messages
11
This is my first post ever but I have benefited from others so let me start off by thanking everyone who takes their time to help those who post on these boards. Your assistance is worth its weight in gold.

I'll try and keep simple but I think I need to explain a little. I have a database that covers 14 or more programs we run. Each has up to 50 or more contractors so I have it designed that from a main form the data entry person will select a program which will populate a list of our current providers. They select that provider and a split form will open up to allow them to enter data and display that providers data. I chose to have a different table for each program because payment points etc. are not the same across programs. However the one thing that is constant across programs is obviously names of clients.

So I created a union query (clients enrolled) to list all clients in all programs. Then on the form side of each split form I have it look for any duplicates on the query on the before update event of the name fields. That works perfectly as to alert me to a possible conflict/duplication. However, what I would like to know is there a way to somehow display those results in either a message box or some other type of pop-up so that the person entering would know where the possible duplication exists because duplication might be ok, but this would give the person knowledge of where they could find the relevant record (program/provider).

For example: They type in John Smith and it alerts to a duplication for John Smith under program "X" contractor "123" and also under program "y" contractor "2" This could then be discussed a to whether it is ok or if a client is being provided duplicate service.
Sorry for length of post,

Poz
 
I smell something fishy in the data structure - you may want to provide a screen shot of it, which will then be subjected to abuse by the rabble :D

is there a way to somehow display those results in either a message box or some other type of pop-up so

I don't understand the question - what stops you ? A form can be displayed as a pop-up, and you apparently do know how to bind a recordset to a form, so what is the specific problem?
 

Users who are viewing this thread

Back
Top Bottom