Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports
Viewing all articles
Browse latest Browse all 4814

I am running many Crystal Reports that I wish to pull data from ONLY the previous day.

$
0
0

I am running many Crystal Reports that I wish to pull data from ONLY the previous day.  I am currently using the Select expert formula

{datefield}= currentdate-1;

 

I have also tried this...

 

{datefield} = dateadd("d",-1,currentdate);

 

The issue is when I run these reports it pulls data from the previous day and all data up to the moment I run the report.  I only want data from the previous date from 00:00 to 23:59 of that date only not including data up until when I run the report.


Viewing all articles
Browse latest Browse all 4814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>