Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Crystal Formula Field HELP Post Reply Post New Topic
Author Message
drintharamy
Newbie
Newbie
Avatar

Joined: 21 Jun 2013
Location: United States
Online Status: Offline
Posts: 8
Quote drintharamy Replybullet Topic: Crystal Formula Field HELP
    Posted: 07 Jul 2014 at 8:47am
Hi all,
 
The scenario I have is a person can have one or more charges on his/her case. 

One charge could be GUILTY and the other charge
is DROPPED.  If this is the scenario, I would like to assign GUILTY Adjudication to this case

OR

One charge could be WITHHELD and the other charge is DROPPED. 
If this is the scenario, I would like to assign WITHHELD to this case

I would like to create a formula field that would assign either GUILTY, WITHHELD, etc.

Sample data:
12345           GUILTY              (For this case, formula field should be Guilty)
12345           DROPPED

98765           WITHHELD  (For this case, formula field should be WITHHELD)
98765           DROPPED

I would like to go through all charges for each case.  If a case has at least one GUILTY or at least one WITHHELD, I like to assign GUILTY or WITHHELD on this formula field.
 
Any help is greatly appreciated.
 
DOUANG RINTHARAMY
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 07 Jul 2014 at 11:59am
one way
Group on the Case ID use
assign a ranked numeric value from 0 to n for each possible outcome
use a max of that numeric value at the group level and that will give you the result you want.
YOu can then convert the max numeric value back to text for display purposes.
By taking this apprach you can display the result in the group header without using a sub report.
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.029 seconds.