Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: Formula: highest number Post Reply Post New Topic
Author Message
jo150
Newbie
Newbie


Joined: 30 Apr 2010
Online Status: Offline
Posts: 4
Quote jo150 Replybullet Topic: Formula: highest number
    Posted: 30 Apr 2010 at 1:51am
Hi
 
This is probably really easy but I am quite new to Crystal.
 
I have report that shows reference no, summary and notes (example below). For each reference there can be any number of notes, numbered as they are added - 1,2,3 etc. I can use the select expert to show note 1 or note 2 but what I would actually like the report to do is just to show me the last note for each reference which will obviously be a different note number for each reference depending on how many have been added. How do I do this?
 
Reference     Summary             Note No    Note Detail
12345           Account locked     1              Tried to call customer no reply
                                                 2              Tried again - no reply
 
 
I hope this makes sense this is my first time using a forum. Confused
Thanks
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 30 Apr 2010 at 4:49am
Group by reference number, Hide GH and detail.  Put fields in GF.
 
I hope this helps.
IP IP Logged
jo150
Newbie
Newbie


Joined: 30 Apr 2010
Online Status: Offline
Posts: 4
Quote jo150 Replybullet Posted: 05 May 2010 at 12:58am

That's brilliant.

Thanks very much Smile
IP IP Logged
jo150
Newbie
Newbie


Joined: 30 Apr 2010
Online Status: Offline
Posts: 4
Quote jo150 Replybullet Posted: 06 May 2010 at 12:51am

Hi again,

hopefully someone will answer this without me posting a new topic :-)

Grouping the information as posted above works fine but I have just realised that the report now excludes any reference that does not yet have a call note added. How can I make sure any nulls are included in my data?
 
Thanks
 
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.032 seconds.