Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 08 Oct 2008 at 10:05am
Crystal Reports has a function called PreviousValue() that you can use in the Suppress property to suppress the section when the current value is equal to the previous value. Using your own field name, put this in the Suppress property.
I have the all the Crystal functions documented with sample code in my Encyclopedia books. You can find out more about my books at Amazon.com or reading the Crystal Reports eBooks online.
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>
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 08 Oct 2008 at 10:06am
Oh yeah - for this to work you need to group by ID so that they are ordered next to each other. Otherwise, the PreviousValue() function won't ever have a match.
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>
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