Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Date and Time Parameter?? Post Reply Post New Topic
Author Message
jbalbo
Senior Member
Senior Member
Avatar

Joined: 17 Feb 2011
Online Status: Offline
Posts: 219
Quote jbalbo Replybullet Topic: Date and Time Parameter??
     Posted: 20 Apr 2011 at 11:06am
Hi,
Does anyone have any samples or know where to start to enter one date and a start time and end time, then filter on a date that would be <= the parameter date and time
 
Example
parameter date 4/20/11
Start time  3 pm
End time   8 pm
 
I want to search 4/20/11 3pm   to 4/20/11  8 pm
 
 
Thanks
Joe
 
IP IP Logged
comatt1
Senior Member
Senior Member
Avatar

Joined: 19 May 2011
Online Status: Offline
Posts: 337
Quote comatt1 Replybullet Posted: 19 May 2011 at 10:08am
my only guess is you would have to convert a string value, ie 3pm to a time value using time(#start) and imbed that within a full datetime parm.

IP IP Logged
tckraju
Newbie
Newbie


Joined: 24 May 2011
Location: United Kingdom
Online Status: Offline
Posts: 1
Quote tckraju Replybullet Posted: 24 May 2011 at 4:28am
Hi,

Create a date time parameter and allow the range values to be true.
This will work.
IP IP Logged
Dewald
Groupie
Groupie
Avatar

Joined: 02 Jun 2011
Location: South Africa
Online Status: Offline
Posts: 47
Quote Dewald Replybullet Posted: 02 Jun 2011 at 10:50pm
Does it need to be 3 seperate parameters?
Dewald Botha
http://www.ITClarity.co.za
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