Print Page | Close Window

How do I filter duplicate records for...

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=1575
Printed Date: 04 May 2024 at 3:36am


Topic: How do I filter duplicate records for...
Posted By: celticpiping
Subject: How do I filter duplicate records for...
Date Posted: 25 Oct 2007 at 5:48am
A bit new to Crystal..
The problem:
I have a report that is returning records, based on a date range(parameterized) , and there are often multiple records for a given date, such as:

10/24/2007 <value1>
10/24/2007 <value2>
10/24/2007 <value2>
10/24/2007 <value3>
10/24/2007 <value1>

What I want, is to eliminate duplicate value returns for a given date: meaning I only want to show ONE unique value for a given date.
I'm staring at the formula workshop waiting for something to jump out at me..but it hasn't happened yet..

Can you folks help steer me in the right direction?

Many thanks!

Rich





Replies:
Posted By: BrianBischof
Date Posted: 25 Oct 2007 at 12:15pm
You can use the Suppress property in combination with the PrevValue() function and suppress the Details section if the current date equals the PrevValue(date).

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window