Solved

Crystal Reports data selection

Posted on 2016-08-19
4
15 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
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 100

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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 …
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now