Solved

crystal reports parameter is showing all records

Posted on 2013-01-30
3
241 Views
Last Modified: 2013-02-18
Have a report where I have 3 different parameter fields.
1. Year
2. Period
3. Code

When I run these I get all data from that table. Even when I just use one parameter i still have the same issue.
How I set it up:
Parameter: New
Type Name
Value Filed: I select in the drop down Year
I hit ok.
Then I drag that field to my report.
Save
Run  report and it ask for year, I put in the year and I get every year.
0
Comment
Question by:scottwoltjer
[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
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
Ross Turner earned 500 total points
ID: 38837349
You need to add your paremeter to selection expert :

1 create new paremeter
2 name your paremeter eg Year
3 select data type e.g number
4 select dynamic or static e.g dynamic
5 select the field you want to map to e.g year
Save

Now with your year paremeter open your selection expert and add

{YourDatabase.Year} = @year


Now you have added your param go back to the field explorer and drag on {YourDatabase.Year}



You can read about it here
http://msdn.microsoft.com/en-us/library/ms227825(v=vs.80).aspx

Or watch a video for the same principle but with dates
Crystal Params Selection
0
 

Author Comment

by:scottwoltjer
ID: 38901968
Where I add in the paremeter is where I am getting lost.
0
 

Author Closing Comment

by:scottwoltjer
ID: 38902816
I was clicking on the wrong selection expret. I was in the selection expert of the detail selection.
This is working. Sorry to take so long.

Thanks
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 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