Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Only showing most recent record/value Post Reply Post New Topic
Author Message
Anne
Newbie
Newbie


Joined: 29 Nov 2012
Online Status: Offline
Posts: 2
Quote Anne Replybullet Topic: Only showing most recent record/value
     Posted: 29 Nov 2012 at 4:25am

Of a table containing estimated values I only want to show the most recent value per relation of this table.

Every time a new estimation of the value is made a new line is added. This line has a number; the higher this number the more recent the estimation is.
 
For example, a relation has the following lines in this table: 
 
Est_number Estimated Value
1                 €100   
5                 €75
8                 €150
 
Now I only want to see the value €150 in the report, which should look like:
 
Relation Most recent estimated value
A           € 150 
B           € 200
 
Thanks for helping me. 
 
 
 
 
 
 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 29 Nov 2012 at 12:07pm
this is what I would do:
group by the relation  (suppress the display)
group by the line number descending
   display the relation and the estimate
 
suppress the rest of the sections.
 
HTH
 
ps there is probably a niftier way, but this is what I can think of without looking at Crystal
 


Edited by lockwelle - 29 Nov 2012 at 12:08pm
IP IP Logged
Anne
Newbie
Newbie


Joined: 29 Nov 2012
Online Status: Offline
Posts: 2
Quote Anne Replybullet Posted: 03 Dec 2012 at 3:15am
SmileThank you. You saved my day.
IP IP Logged
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