Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Report Parm. Time Post Reply Post New Topic
Author Message
ridershaun
Newbie
Newbie


Joined: 31 Aug 2010
Online Status: Offline
Posts: 32
Quote ridershaun Replybullet Topic: Report Parm. Time
    Posted: 31 May 2011 at 7:45am
How would I placed a report to show the last 10 hours of activity.  My example is I will have a report that will run at 4PM and I only want it to get activity from the last 10 hours or that day only.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 31 May 2011 at 7:54am
what is your data like? a datetime field, a time field and a date field, something else?
if it is a datetime and you have it set to run at exactly 4 you can use a select statement like
datetimefield > =dateadd('h',-10,currentdatetime)
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.016 seconds.