Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Selection Criteria in Crystal 9.2 Post Reply Post New Topic
Author Message
randcd
Newbie
Newbie


Joined: 30 May 2008
Online Status: Offline
Posts: 1
Quote randcd Replybullet Topic: Selection Criteria in Crystal 9.2
    Posted: 30 May 2008 at 5:17am
I'm having a problem with some code in the Select Expert.  I have a report that I am running for a Change Management group that requires that they see all changes in a given window that matches either the Scheduled start date or the Requested Start Date.  I would think that the following WHERE statement would suffice:
 
 WHERE  (("CHG_Infrastructure_Change"."Scheduled Start Date">={ts '2008-06-01 00:00:00'} AND
"CHG_Infrastructure_Change"."Scheduled Start Date"<{ts '2008-06-07 00:00:00'}) OR
("CHG_Infrastructure_Change"."Requested Start Date">={ts '2008-06-01 00:00:00'} AND
"CHG_Infrastructure_Change"."Requested Start Date"<{ts '2008-06-07 00:00:00'}))
 
Unfortunately it only evaluates whichever is first and ignores the second.  Any ideas?


Edited by randcd - 30 May 2008 at 7:32am
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.