Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Date Formula (From-To) HELP Post Reply Post New Topic
Author Message
Beso90
Groupie
Groupie
Avatar

Joined: 12 Jun 2014
Location: United States
Online Status: Offline
Posts: 48
Quote Beso90 Replybullet Topic: Date Formula (From-To) HELP
    Posted: 28 Mar 2017 at 4:51am
Hello,

I'm setting up a report to be generated every week to show on-time deliveries.

I have a similar report to show me the on-time deliveries for the previous day.
and the formula for that is something like:
{ShipDate} = (currentdate-1)

my question is what formula do i use to give me data from (7 days ago to currentdate-1) ?

I don't want to set up a manual parameter because i want the report to be sent automatically from the system as an IQAlert, so i need the parameter to be embedded in the report as a selection formula.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 28 Mar 2017 at 7:12am
datediff('d',shipdate,today) in 1 to 7
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.000 seconds.