Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Date Parameter Post Reply Post New Topic
Author Message
Gal72
Newbie
Newbie


Joined: 21 Apr 2010
Online Status: Offline
Posts: 1
Quote Gal72 Replybullet Topic: Date Parameter
     Posted: 21 Apr 2010 at 10:46pm

Hi,

Can anyone please advise on the correct formula/syntax to create the following:
 
Parameter Field = manually entered date
Results : finds all open documents from entered date minus 3 days
(eg: entered 25/04/10 returns documents from 17/04/10)
 
I have other minor issues that are due to layout but will work these out in time, cannot fathom how to add this to the report though!!!

Thanks
IP IP Logged
FrnhtGLI
Senior Member
Senior Member
Avatar

Joined: 22 May 2009
Online Status: Offline
Posts: 347
Quote FrnhtGLI Replybullet Posted: 22 Apr 2010 at 2:22am
In the record selection do:
{table.datefield}=dateadd('d',-3,{dateparam}) to {dateparam}
|< /\ '][' ( )
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