Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Range Value Question? Post Reply Post New Topic
Author Message
hugo69
Groupie
Groupie


Joined: 15 Feb 2010
Online Status: Offline
Posts: 53
Quote hugo69 Replybullet Topic: Range Value Question?
     Posted: 29 Mar 2010 at 6:14am
I am kind of stumped on this one. Trying to make a report that has a date range. {Jail_Confinement.Date_Released} is between Jan 1, 09 and Dec 31, 09. But also I need to see the Inmates that have null for {Jail_Confinement.Date_Released} if they were confined during the same period.
 
So it would look something like this:
 
Inmate               Confined             Released
Tim                      Dec 1, 08             Feb 1, 09 
Jim                       Feb 2, 09             Apr 2, 09
steve                   Sept 2, 09            null
          
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 29 Mar 2010 at 7:13am
table.ConfinedDate < date(2009,12,31)
and
(
isnull(table.Releasedate )
or table.Releasedate in date(2009,1,1) to date(2009,12,31)
)
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