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

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

Recommended Posts

Posted

Hello,

I have two tables: Companies and dupcheck_companies...Self-joined with Companies:company = dupcheck_companies::company AND Companies:pk != dupcheck_companies::pk

And attached script trigger with layout (onrecordcommit) to show custom dialog if  duplicate key (serial of table occurrence not empty) is found .. it works fine when duplicate company name value is found , but what if I want to check another field (phone number) for duplicates , I think it would be better if I could self-join with an OR condition instead of AND , but don't know how

 

Please help!

 

Posted (edited)

An OR relationship is achieved by using a multi-key field - i.e. a match field that contains more than one value, each on a separate line.

 

 

Edited by comment

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