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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help to filter records from condition

Status
Not open for further replies.

42894

Technical User
Mar 16, 2008
11
US
Hi,

I am using CRXI. I have 2 fields and values of that fields are as below:
A Owners B Owners
-------- ----------
ABC-LMN XYZ-LMN
XYZ-LMN ABC-LMN
DEF-LMN

I need A Owners where name contains *LMN* but if and only if same value(name) is not in B Owners.

I would really appriciate your help.

Thanks in advance
Aataman
 
Use a left join from the A table to the B table on the Owners field, and then use a record selection formula like this:

{A.Owners} like "*LMN*" and
isnull({B.Owners})

This assumes that the field is called Owners, and the tables are A and B.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top