Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Filtering records at Universe Level Post Reply Post New Topic
Author Message
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Topic: Filtering records at Universe Level
     Posted: 30 Aug 2012 at 7:22pm
Hi
 
I have a report which is based off universe. 
 
My report consist of 8 filters out of which 2 are date.  These data filters should use 'OR' condition and rest all should use 'AND'
 
Example :
 
Filter1 ='xxxx' and
Filter2='yyyy' and
filter3='zzzz' and
(date1='01/01/2011' or
date2='02/01/2011'
 
Here I am trying to get two dates of same filed.  I don't find any option in query panel to select few objects with 'AND' and few with 'OR'
 
 
 
 
 
Thanks,
Sastry
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 31 Aug 2012 at 3:49am
This is actually not difficult.  In your filter, drag Date2 onto Date1.  This will indent the two and put an "And" to the left of them.  Double-click on "And" to change it to "Or".
 
-Dell
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