Solved

Crystal Reports data selection

Posted on 2016-08-19
4
32 Views
Last Modified: 2016-09-07
I have a Crystal Report that pulls from a table that has columns for 1.) Accounting Period and 2.) Accounting Year.
I need to be able to set a parameter for both of these (ex. 05/2016) and have the data from all previous periods populate the report.  What happens now is that if I select period 05 and year 2016.  It only populates with data up to period 05 of every year.
How can I fix this?
0
Comment
Question by:slmc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 18

Expert Comment

by:vasto
ID: 41762974
Do you have a criteria for the year  in record selection formula ?
Something like <your year field> = {@year}
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points (awarded by participants)
ID: 41763048
Try this

(
{Accounting Year Field} = {?Year}
and
{Accounting Period} <= [?Period}
)
OR
{Accounting Year Field} < {?Year}

mlmcc
0
 

Author Comment

by:slmc
ID: 41763105
Exactly what I was looking for.  Thank you.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 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