I have two tables of data and one target table
Work has many Contributors and a Contract has many ContractParties.
From a Contract which has contract parties I need to find Work where the ContractParties are Contributors. Contract Parties might contain 2 entries or it might contain more. Contributors might contain 2 entries or it might contain more.
Other than writing a query that says
FIND Work WHERE EXISTS Contributor WHERE Contributor.psContact.Name='Jim' AND WHERE EXISTS Contributor WHERE Contributor.psContact.Name='Janice' etc etc for everyone in the ContractParties table
Does anyone have any tips on how to write a more generic version of that query, or am I going to have to create a string to capture all of that, store it in an attribute and then EXEC_STRING?