Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: need a forumula Post Reply Post New Topic
Author Message
Jenny
Newbie
Newbie


Joined: 11 Jun 2009
Online Status: Offline
Posts: 15
Quote Jenny Replybullet Topic: need a forumula
     Posted: 11 Jun 2009 at 8:33am
I need a forumla for Crystal Reports 9 that will give me records who have an expiration date 120 days from the current date.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 12 Jun 2009 at 6:57am
if dateadd("d",120,CurrentDate) = {table.field} then
  //do something.
IP IP Logged
Jenny
Newbie
Newbie


Joined: 11 Jun 2009
Online Status: Offline
Posts: 15
Quote Jenny Replybullet Posted: 12 Jun 2009 at 12:21pm
Thanks.


Originally posted by lockwelle

if dateadd("d",120,CurrentDate) = {table.field} then
  //do something.
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