Solved

Select data one year from Run date

Posted on 2012-04-02
3
315 Views
Last Modified: 2012-06-21
Good morning!
Here's an interesting question (or so I think it is!)

We need to include records where the data is one year out from the date that the report is run.  For example, If I ran a report on April 1, 2012, it would include data from 12 months prior to that run date.

Not sure how to go about this - any ideas would be greatly appreciated!
Thank you -
cs
0
Comment
Question by:rporter45
  • 2
3 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 200 total points
ID: 37795982
Try this as the selection formula


{YourDate} >= DateAdd('yyyy',-1,CUrrentDate)

mlmcc
0
 

Author Comment

by:rporter45
ID: 37801871
Thank you - I'll try this now and get back to you,

cs
0
 

Author Closing Comment

by:rporter45
ID: 37801945
Easy to translate into report.  Worked!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…

809 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