Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: grouping formula Post Reply Post New Topic
Author Message
lorimack
Groupie
Groupie


Joined: 03 Nov 2009
Online Status: Offline
Posts: 48
Quote lorimack Replybullet Topic: grouping formula
    Posted: 17 Oct 2012 at 5:13am
Can someone please help my forgetful brain! 
 
What function do I need to use to get numbers 10 and 11 both to show under fraud?
 
 
if GroupName ({ucr2st.ibrgroup}) = "08" then "Simple Assault" else
if GroupName ({ucr2st.ibrgroup}) = "10" then "Fraud" else
if GroupName ({ucr2st.ibrgroup}) = "11" then "Fraud" else
if GroupName ({ucr2st.ibrgroup}) = "14" then "Property Damage" else
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 17 Oct 2012 at 5:48am
if GroupName ({ucr2st.ibrgroup}) = "08" then "Simple Assault" else
if GroupName ({ucr2st.ibrgroup}) in ["10","11"] then "Fraud" else
if GroupName ({ucr2st.ibrgroup}) = "14" then "Property Damage" else
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.