Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Most recent report Post Reply Post New Topic
Author Message
Audiologist
Newbie
Newbie
Avatar

Joined: 05 May 2011
Location: United Kingdom
Online Status: Offline
Posts: 1
Quote Audiologist Replybullet Topic: Most recent report
    Posted: 05 May 2011 at 12:52am

Hi,

 

We have a database of all our patients and their test results from different dates. We are trying to get the most recent result for each patient but can't find a way of doing it.

 

We can currently get all results for all patients (where they appear on different lines) . Can I suppress all but the most recent?

 

I'm wanting to export it to excel for the stats so don't really want to have a group title at the top of each patient of name, date of birth etc to separate patients (unless that can be filtered out later).

 

Does anyone have any ideas how to do this?

 

Thanks

Star



Edited by Audiologist - 05 May 2011 at 12:53am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 May 2011 at 3:27am
group on the patientid
insert a suppression formula on the detail section using the max date for the group <> detail date
NOT(table.date=maximum(table,date,table.patientid))
 
Note if there was more than one completed on this date then both would show.
 


Edited by DBlank - 05 May 2011 at 3:27am
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.016 seconds.