Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: How do I filter duplicate records for... Post Reply Post New Topic
Author Message
celticpiping
Newbie
Newbie
Avatar

Joined: 25 Oct 2007
Online Status: Offline
Posts: 24
Quote celticpiping Replybullet Topic: How do I filter duplicate records for...
    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


IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet 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>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.