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

Excluding Duplicate Records

Status
Not open for further replies.

mwake

Programmer
Feb 12, 2004
151
US
I'm using CR2008 with an Oracle 10G db as my data source. I've created a Registration Detail report which is supposed to include a record with an entry type = Renewal and it's associated approval date. I am currently looking at approval dates for the renewal records and supressing any renewals that do not equal the max approval date for the group.

The problem is that a group may have multiple licenses which may be renewed on the same date, so the report displays 2 renewal records with the same info. I tried using max entry id, but that did not work in a small number of records.

How do I suppress duplicate renewal records when the approval dates are the same, and no other unique field to work with??
 
You can concatenate the fields that are displayed in a formula:

{table.field1}&" "&{table.field2}&" "&{table.field3}

Then use this formula in the section suppression formula area:

{@concat} = previous({@concat})

Do not check "suppress"--just add the formula into the formula area.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top