Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Crystal Reports data selection

Posted on 2016-08-19
4
Medium Priority
?
44 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
3 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
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 …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month21 days, 3 hours left to enroll

810 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