Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Dear All,

I have a field text and a field number, when people enter record , I don't want people enter the same text and number. If they do , show a message right away.

let's say ..first record Field A = A Field Num = 9

second record ...Field A = A and Field Num = 9.

How can the message show right away so that they have to change different text or number? ...IS there a way to check people?

Can you guys help me out of this?

Thanks a bunch.

Posted

Hi, Ahn:

This isn't a script, but when in "Define Fields" for either text or number fields, you can go to the "Options/Validation" tab and select the "Unique" checkbox. This should prevent people from entering duplicate values. Hope this helps.

Regards,

Philip Sommers

Posted

What if Tranh wants to either have A or 9 entered two times, but not the combination of both.

Here is the method I use to control duplicates in my contact db.

I use a script with a calculation for FirstName&LastName and a selfrelationship based on ContactsFile:cFirstName&LastName::FileA:FirstName&LastName with script :

If valid (relationship)

Show message "This contact seems to exist. Would you like to check if it isn't a duplicate".

If Status(Message) = 1

Go to related records

End if

continue script...

But I would really appreciate an easier method if it exists.

Posted

Thanks All,

I found the solution already ...use the self-join and create a calculation field to count the self-join.. count(selfjoin:field) > 1, wrong, false

Thanks All

This topic is 7988 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.