?
Solved

Select Records from CurrentDate and yesterday

Posted on 2007-12-01
3
Medium Priority
?
853 Views
Last Modified: 2010-05-18
I have a report. I want to display records from today and yesterday based on a DateTime field called Task. TimeCompleted. How do I do this? I cant seem to do it using CurrentDate

Seb
0
Comment
Question by:sebastiz
  • 2
3 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 20388175
I don't see whay you shouldn't use currentdate.

All it sounds like you need is:

{Task. TimeCompleted}>=currentdate-1
0
 
LVL 77

Accepted Solution

by:
peter57r earned 2000 total points
ID: 20388178
(In your record selection formula)
0
 

Author Comment

by:sebastiz
ID: 20388203
Doh. Thanks
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Loops Section Overview
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question