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


Joined: 02 Jul 2009
Location: United States
Online Status: Offline
Posts: 2
Quote sandiem Replybullet Topic: Date Formula
     Posted: 02 Jul 2009 at 6:55am
I need to put a date formula in the filter to get all of the records for the last six months. For example I would like to get 1/1/09 to 7/1/09.
 
Any suggestions?
 
Thanks in advance :)
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 06 Jul 2009 at 6:40am
{datefield} in {?parameterfield} to dateadd(m, 6,{?parameter})
 
just a thought, if you were using a parameter and it was the 'start' date.
 
check out the 'in range' example in Crystal help.
 
HTH
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