Hi all
Having a real problem with an access query.
I have a table which stores data on contacts made to patients.
I want to get a list of patients that have duplicate contactsdetails. The problem with this is that there are a couple of fields which will be different. I want to get all the records with certain fields matching. Already i feel like i'm not making sense:
example:
pat_No date_of_visit time etc....
TW10 1/1/2003 13:00
WS12 1/1/2003 13:00
WS12 12/1/2003 14:00
in the data above i would like to return the top two records as everything matches apart from the patient number.
There are more fields in the table i am using but if someone could point me in the right direction as to how to go about this.
Thanks in advance (and apologies for this maybe not making as much sense as i'd have liked)
Thanks
Having a real problem with an access query.
I have a table which stores data on contacts made to patients.
I want to get a list of patients that have duplicate contactsdetails. The problem with this is that there are a couple of fields which will be different. I want to get all the records with certain fields matching. Already i feel like i'm not making sense:
example:
pat_No date_of_visit time etc....
TW10 1/1/2003 13:00
WS12 1/1/2003 13:00
WS12 12/1/2003 14:00
in the data above i would like to return the top two records as everything matches apart from the patient number.
There are more fields in the table i am using but if someone could point me in the right direction as to how to go about this.
Thanks in advance (and apologies for this maybe not making as much sense as i'd have liked)
Thanks