Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Date function Post Reply Post New Topic
Author Message
r2ks
Newbie
Newbie


Joined: 29 Jun 2012
Online Status: Offline
Posts: 4
Quote r2ks Replybullet Topic: Date function
     Posted: 22 Jan 2014 at 4:33am
Good morning, could someone tell me how to have my report look back for the past 3 days. What I was in the select expert create a formula like this
= CurrentDate -3 if some thing lands the 3 rd day it picks it up. I would like it to pick everything from today going back all three days.
 
Thank you
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 22 Jan 2014 at 4:48am
table.date >= dateadd('d',-3,currentdate)
IP IP Logged
r2ks
Newbie
Newbie


Joined: 29 Jun 2012
Online Status: Offline
Posts: 4
Quote r2ks Replybullet Posted: 22 Jan 2014 at 5:33am
Thank you so very much, I appreciate it.Smile   Worked

Edited by r2ks - 22 Jan 2014 at 5:34am
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