Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Crystal Report Help Please Post Reply Post New Topic
Author Message
crystalhound
Newbie
Newbie
Avatar

Joined: 05 Jul 2012
Online Status: Offline
Posts: 2
Quote crystalhound Replybullet Topic: Crystal Report Help Please
     Posted: 05 Jul 2012 at 5:48am
I'm currently working on a report and it works for yestarday info look up
 
 (SUBSTR(a.loc,7,8) IN ('S-X5','S-X=096','CAT15','FLI','S-X=230I','FLOORM') and b.sch_strt_dt <= YEST)
 
yet it doesn't work for today date
 
 (SUBSTR(a.loc,7,8) IN ('CTI514OO') and ((b.seq_no <=6 and b.sch_strt_dt = sysdate) or b.sch_strt_dt< sysdate))
 
Crystal Hound Makes it Rain
IP IP Logged
c16271
Groupie
Groupie
Avatar

Joined: 24 Aug 2010
Location: United States
Online Status: Offline
Posts: 48
Quote c16271 Replybullet Posted: 05 Jul 2012 at 7:10am
Is there any data for today's date? It could be that you may need an outer join on data relating to today.
 
If the date is the only thing that is chaning, I would validate all your conditions meet today's data.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 06 Jul 2012 at 12:15pm
also check if there is time element in your data as that is the easiest thing to miss...the dates match but the time portion doesn't
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