Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: last value Post Reply Post New Topic
Author Message
liloo974
Newbie
Newbie


Joined: 28 Aug 2007
Online Status: Offline
Posts: 1
Quote liloo974 Replybullet Topic: last value
    Posted: 28 Aug 2007 at 4:45am

Hi,

I try to do a report where one of the value can be double or triple.

For example : name, birthday, fonction

The name and the birthday come from the table : USER.

Fonction come from the table : ACTIVITY.

The fonction can change.

 

For example :

table USER :

NAME1; 01/01/1997

NAME2; 09/06/1948

NAME3; 26/11/1964

 

Table ACTIVITY :

NAME1; FONCTION1; 12/03/2007

NAME1; FONCTION1-1;24/07/2007

NAME2 ; FONCTION2 ; 15/06/2000

NAME3 ;FONCTION3 ;01/01/1996

NAME3 ;FONCTION3-1 ;01/01/2000

NAME3 ;FONCTION3-2 ;01/01/2007

 

So, for one user, we can have one or more activities.

 

In my report I want only the last activity so :

For NAME1 : FONCTION1-1

For NAME2 : FONCTION2

For NAME3 : FONCTION3-2

 

Do you know how can I do that.

Thanks a lot
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 28 Aug 2007 at 7:41am
Group by user.  Group by function date descending.  Put your data in the header section for the user.  This should give you only the most recent function.
 
-Dell
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.