Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: Top 2 Dates
Author
Message
vgillis
Newbie
Joined: 05 Mar 2013
Online Status: Offline
Posts: 10
Topic: Top 2 Dates
Posted: 17 May 2013 at 4:31am
Question..
Table1
person id
Gift Date
Gift Amt
I went to display the last two records for each person..
So Max gift date and the second to max gift date.
Any ideas?
Thanks.
Veronica
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 17 May 2013 at 10:48am
one way
sort on the date field
do a count of any non null field at the group level
insert a running total as a count of the same field with a reset on the group level
use these 2 items together in a suppresion formula in the section expert under the detail section
count(field,group)-{#RunningTotal}>2
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
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
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.