Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Or operator Post Reply Post New Topic
Author Message
OneShoe
Newbie
Newbie


Joined: 12 Jan 2012
Location: United States
Online Status: Offline
Posts: 5
Quote OneShoe Replybullet Topic: Or operator
    Posted: 07 Feb 2012 at 8:58am
I have tried many times to sort this out but to no avail.

What is incorrect?


(
Sum ({@Recurring?}, {AR_Customer_System.Customer_System_Id}) = 0.00 and
Sum ({@Equip Date older than 5 years}, {AR_Customer_System.Customer_System_Id} = 0.00)
or (Sum ({@Recurring?}, {AR_Customer_System.Customer_System_Id}) = 0.00 and
Sum ({@No Parts just Null}, {AR_Customer_System.Customer_System_Id}) = 0.00 and
Sum ({@Warranty older than 5 years}, {AR_Customer_System.Customer_System_Id}) = 0.00 and
Sum ({@Contract Start Date older than 5 years}, {AR_Customer_System.Customer_System_Id}) = 0.00 )


Thanks in advance!
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 07 Feb 2012 at 9:47am
if you want it to return TRUE whenever the first 2 options are both 0 OR the last 4 options are all 0
then i think this:
 
(
Sum ({@Recurring?}, {AR_Customer_System.Customer_System_Id}) = 0.00 and
Sum ({@Equip Date older than 5 years}, {AR_Customer_System.Customer_System_Id} = 0.00)
)
or
(
Sum ({@Recurring?}, {AR_Customer_System.Customer_System_Id}) = 0.00 and
Sum ({@No Parts just Null}, {AR_Customer_System.Customer_System_Id}) = 0.00 and
Sum ({@Warranty older than 5 years}, {AR_Customer_System.Customer_System_Id}) = 0.00 and
Sum ({@Contract Start Date older than 5 years}, {AR_Customer_System.Customer_System_Id}) = 0.00
)
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.016 seconds.