Solved

Prompt for duplicate record !

Posted on 2004-08-23
5
235 Views
Last Modified: 2010-04-27
What script I should to find out about duplicate RECORD in one particular field ?

Let say customer  JAY MUSIC COMPANY already exist .
Today my try to add same customer one more time by mistake
Question:  What script or function should I use to prompt for duplicate or prevent my employee to adding duplicate customer.
0
Comment
Question by:gurshaan
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
prifre earned 125 total points
ID: 11878381
Hi,

There are several solutions:
1) In the Field Definition, check "Unique value" under "Options..." (you can even have a custom message when someone tries to enter a duplicate)
2) You can search for already present duplicate records in a field, by writing "!" in the field.
3) You can create a script that removes or marks duplicate records based on exactly what you consider duplicate (for example, if the first 5 characters are the same, or if 2 fields are the same in 2 records.) After marking, you can go through them manually and remove.

I usually use a combination of all 3 above when I work with FM. I define the database as good as possible - so people never enter exact duplicates. I run from time to time a check on for example adresses (that is ok if they are duplicates) to see if records are duplicates, but for example the names are misspellt. And if I have imported many records, I use a script to find imported duplicates and remove them automatically.

hope that helps!

with a smile
/prifre

(I use a Swedish FileMaker, so I cannot give exact menu/button names. Sorry.)
0
 
LVL 9

Expert Comment

by:prifre
ID: 12207183
Whatever. No replies from the one who asks a question is sooo irritating. I believe my suggestions would have solved the problem, but now, no one can tell.
with a sad smile
/prifre
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now