Jump to content

Searching for duplicates


This topic is 2271 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Ive created a table for customers. Whilst entering a new customer record I was wondering how to automatic search to see if the customer exist before committing the new customers record. As it stands at the moment the new record is created at the start so I would have to delete the record if a duplicate exists.

Any ideas on doing this and advice please would be appreciated.

Link to comment
Share on other sites

Not sure that would work Lee. The customers table contains fields: first name, surname, house number/name, 1st line off address, 2nd line off address, town, country and postcode. So I would need to search the whole record for a duplicate. Most fields have dropdown lists on them so the date is spelt the same ie road name etc.

Unless I'm missing something.

Link to comment
Share on other sites

Spot on Lee thanks, Im finding its works for duplicates but if I carry out the test John Mark Osborne done during the video (at 2:18 into the video) of deleting a character and adding it back, a duplicate massage still shows up even though Ive added the id ≠ id relationship. Does anyone have any ideas on why this is happening.

Link to comment
Share on other sites

This topic is 2271 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.