Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Exclude data from records Post Reply Post New Topic
Author Message
RiosLA
Newbie
Newbie
Avatar

Joined: 03 Jun 2008
Location: United States
Online Status: Offline
Posts: 12
Quote RiosLA Replybullet Topic: Exclude data from records
     Posted: 03 Jun 2008 at 3:51pm
Hello Everyone,
 
I am seeking to exclude certain data(items) from records (customers) that have purchased a number of our items...
 
The items sum up to a Total Gallons (purchased) and Total Sales $, based on date range of history invoice.  However, there is some items that are not gallons and should not be included into the Total Gallons nor total sales.
 
Here is a list of item codes the need to be excluded or included which ever you guys think is easier...
 

EXCLUDE

INCLUDE

2EDI

CAG

2ELE

CBG

2EOE

DAG

2ESE

EAG

2ETE

FAG

2FRE

GAG

2HP

GFG

2LFT

HFG

2SUP

LAG

BLE

MAE

BSC

MAG

BST

MBG

CAE

MFG

CAL

MIG

CCE

MMG

CEQ

OAE

FCS

OAG

GAL

OCE

GCE

OCG

GFL

OIE

HFL

OME

LAL

OMG

MFE

OTG

MFL

SAG

MIE

SCE

MIL

SLE

MLE

SME

OAL

SMG

OTE

SML

PCE

VAG

VAE

 

VAL

 

VFE

 

VLE

 

 
Basically, what I need to know, is where should I include this to propogate this? or where should I create this formula?
 
Please help me out with this... My JOB depends on this Cry...
 
Thank you,
 
Luis (the Drifter) Rios
IT Administrator
rios_la@hotmail.com
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 04 Jun 2008 at 7:59pm
You use a formula with the IN operator:
IN ["2EDI", "2ELE",...]

This will include just the records you want to be counted.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
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