Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: If Exists in Crystal Reports 2008 Post Reply Post New Topic
Author Message
sharpie00
Newbie
Newbie


Joined: 25 Oct 2010
Online Status: Offline
Posts: 6
Quote sharpie00 Replybullet Topic: If Exists in Crystal Reports 2008
     Posted: 25 Oct 2010 at 6:05am
Good morning,
 
I have an invoice which uses the following fee names (with '*' being a wildcard for text before):
 
*FIRST OFFENSE (i.e. 93.1 FIRST OFFENSE, 105.3 FIRST OFFENSE, etc.)
*SECOND OFFENSE
*THIRD OFFENSE
 
What I need to do is pull the fee name when it exists on the invoice.  For example, if the invoice has the fees *FIRST OFFENSE and *SECOND OFFENSE, the report displays the *SECOND OFFENSE fee.  If a THIRD OFFENSE exists on the invoice, then display the *THIRD OFFENSE fee and ignores the FIRST and SECOND.  
 
Any help is greatly appreciated.
 
Thanks
 
 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 26 Oct 2010 at 3:21am
are these separate fields, multiple rows, multiple values in 1 field?  Is it currently being determined by a formula, if so, what does that look like?
IP IP Logged
sharpie00
Newbie
Newbie


Joined: 25 Oct 2010
Online Status: Offline
Posts: 6
Quote sharpie00 Replybullet Posted: 26 Oct 2010 at 3:31am
The invoice is held in one table and the fees are held in another table.  There is a cross reference table which ties the 2 together.  There are no formulas.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 26 Oct 2010 at 8:48am
the only thing that comes to mind, is that the data is being displayed in a group footer, which would only display the last record...if it is in the details section of the report, then I wouldn't know offhand, as CR typically displays every row that it finds.
 
HTH
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