Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: End-date Post Reply Post New Topic
Author Message
Wosp
Groupie
Groupie
Avatar

Joined: 05 Sep 2012
Location: Sweden
Online Status: Offline
Posts: 45
Quote Wosp Replybullet Topic: End-date
     Posted: 16 Mar 2014 at 8:41pm
Hi, i have a report showing a list of workorders, how do i do if i want it to show only workorders that have a enddate thats older than current date?
i have a field that displays Enddate so is it possible to add a formula section expert to suppress the workorders that has a older date then current date...
 
the content in the enddate field shows both date and time like this:
2014-02-17 07.00.00
 
Ermm


Edited by Wosp - 16 Mar 2014 at 9:41pm
IP IP Logged
lolly54
Groupie
Groupie
Avatar

Joined: 25 Sep 2011
Online Status: Offline
Posts: 58
Quote lolly54 Replybullet Posted: 17 Mar 2014 at 1:16am
You don't have to suppress the work order. All you need is to include the following condition in the Record Selection area.

1) Try

EndDate < CurrentDateTime 

2) If you want the current date only, try

EndDate < CurrentDate


IP IP Logged
Wosp
Groupie
Groupie
Avatar

Joined: 05 Sep 2012
Location: Sweden
Online Status: Offline
Posts: 45
Quote Wosp Replybullet Posted: 17 Mar 2014 at 2:01am
So easy Wink
 
Thank you very much Clap
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