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!

Compare the same field to itselft to find duplicates

Status
Not open for further replies.

vblack7770

Programmer
Apr 11, 2005
26
US
I am working in Crystal 8.5 with Oracle ODBC connection. I need to compare two records together in the details section and if a record1.field <> record2.field, I want to suppress both records. I only want to show both records if record1.field and record2.field are = to one another.
 
If you want to display duplicates, then first group on {table.field}, and then go to report->edit selection formulas->GROUP and enter:

count({table.field},{table.field}) > 1

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top