Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is element in array 1 an element in array 2 1

Status
Not open for further replies.

amoeba102

Programmer
Apr 2, 2002
58
US
Using crystal XI
Dealing with selection criteria

I have 2 identically structured tables. I want to select the record if the value in table2.field1 does not exist in table1.field1

I've tried being creative with 'instr' and in [array], in both selection criteria and section expert, but either those aren't the answer or I wasn't creative enough.
 
Use a left join from {Table2.field1} to {Table1.field1}. Then use the following record selection formula:

isnull({table1.field1})

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top