Solved

Crystal Parameters do not show all values from query

Posted on 2014-03-31
8
2,687 Views
Last Modified: 2014-04-06
Report written in Crystal XI using a SQL command as the datasource.  When the command is run in SSMS against the data, it returns all records.  I have created a parameter to prompt the user dynamically to select a range of values from a field in the query (user name).  However, the parameter list does not show all of the available user names.  Without the parameter and the condition on the parameter, all values for all user names are shown.  The minute a parameter is used, the report only offers a subset of user names.

Also, creating a parameter from the Command window does nothing, clicking Create creates the parameter but the minute you exit from the command window, the parameter disappears.
0
Comment
Question by:branuda
  • 5
  • 3
8 Comments
 

Author Comment

by:branuda
ID: 39966753
Adding this:  HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal
Reports\DatabaseOptions\LOV

with a MaxRowsetRecords value does not work.
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 500 total points
ID: 39968397
0
 

Assisted Solution

by:branuda
branuda earned 0 total points
ID: 39969561
OK.  I set it to 100,000 and it worked.  It was 1000.  I am wondering if this provides the minimum number of records that Crystal needs to provide an effective "select distinct" from all rows.  It doesn't have anything to do with the actual number of values in the dropdown list because I have 10 distinct records and 1000 didn't work.  So my question is whether this number needs to be set to a number much higher than the total number of records returned by the query.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 100

Expert Comment

by:mlmcc
ID: 39969691
I don't know.  That is why I prefaced the remark with Crystal by defaults limits it to 1000 rows or values. I don't know if the return is based on values or rows.  Your experience would tend to indicate it is rows.

Do you have Crystal set to return distinct rows?
That should reduce the number you require.

mlmcc
0
 

Author Comment

by:branuda
ID: 39969794
Unfortunately I can't.  The report needs to return all rows for a given user and none is distinct.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39969947
You could try adding another command that just pulls the field you want from the database and base the parameter on that.

You don't need to include it in the report in any way other than as the source for the parameter values,

mlmcc
0
 

Author Comment

by:branuda
ID: 39970017
Thanks for all your help!
0
 

Author Closing Comment

by:branuda
ID: 39981041
Adding the registry key is the key to this solution.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

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…
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 …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

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