Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Last date of each month and for one sales Post Reply Post New Topic
Author Message
Mohamed
Newbie
Newbie


Joined: 01 Oct 2010
Location: France
Online Status: Offline
Posts: 2
Quote Mohamed Replybullet Topic: Last date of each month and for one sales
    Posted: 22 Nov 2010 at 12:13am
Hi All,
 
I get from a stocked procedure (SP) a date field, a sales name and assets.
 
Rows             Date              Sales          Assets
Row1             Nov 1st   -->    S1              10
Row2             Nov 8th   -->    S1              12
Row3             Nov 15th -->    S1              13 
Row4             Nov 1st   -->    S2              20
Row5             Nov 8th   -->    S2              22
Row6             Dec 2nd   -->    S1              12
Row7             Dec 9th    -->    S1              11 
 
I would like to get only last updated assets for one month and one sales ie red lines 3, 5 and 7 above.
How can I get them through a formula in a CR11 or by adding a condition into the SP.
 
Many thanks
Mohamed
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 22 Nov 2010 at 8:07am
put a group on the Sales, order by the date, suppress the detail section, display the desired fields in the group footer.
 
HTH
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.