Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8989

How can I select data from "Yesterday"?

$
0
0


I am using Crystal Reports 2008 SP3. I would like to select records from a specific field called {Open Time}. I only want the records that were opened "yesterday."

I would love to find this as an option under 'In Period', but it is not there. There are a lot of choices like: Last Week, Last Month, All Dates to Yesterday, etc. But no Yesterday.

I have tried writing it as a formula where {Open Time} in (currentdate -1)

This works but ....  This is a second pass formula so it has to read all the records in the database before selecting. I have nearly 1M records so far and this method talkes over 1/2 hour to run.

Any Suggestions?


Viewing all articles
Browse latest Browse all 8989

Trending Articles



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