Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Parameters - Cascading

Posted on 2014-03-03
5
Medium Priority
?
276 Views
Last Modified: 2014-03-04
Hi
Using Cascading Parameters in CR2011 and not all fields showing in drop downs.
This happens locally on my PC prior to loading to server.
Any ideas.

Regards
0
Comment
Question by:PHIL Sawyer
5 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 39900813
WHat do you mean not all the fields are showing?
There are some fields that can't be used a dynamic because of data type.

mlmcc
0
 

Author Comment

by:PHIL Sawyer
ID: 39900862
Sorry - not all rows showing.
For example - if I have 15 distinct dates then I might only see 10 rows rather than 15 in my parameter date selection
Regards
0
 
LVL 26

Accepted Solution

by:
Kurt Reinhardt earned 1400 total points
ID: 39900876
I agree, what do you mean? For example:

1)  You have a 3-field dynamic cascading parameter and you pick the 1st value, but the 2nd doesn't list fields?  Are you picking the 1st, skipping the second and want to see the 3rd?

2)  You have a multi-field dynamic cascading parameter where some of the values allow for multiple value selection.  You've made selections, but when you try to pick from the list the values you expect to see aren't available?

The reason I ask is there's a bug I identified a few years ago that affects people who use just the standalone copy of Crystal Reports (as opposed to using it with Enterprise/Crystal Reports Server).  The gist of the bug is that Crystal doesn't populate the values from a single query, it basically makes a "pass" based on the initial selections and never goes back to pull additional values for each of the multiple values selected.  To the best of my knowledge, it's never been fixed.  I even put together a proof of concept using the Xtreme sample db and sent it to one of my contacts at what was then BusinessObjects, now SAP.
0
 
LVL 23

Assisted Solution

by:Ido Millet
Ido Millet earned 600 total points
ID: 39901527
To adjust the total number of rows available to the dynamic parameter use the registry as follows:

HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DatabaseOptions\LOV

Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report.
For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter.

Note, make sure there is no conflicting value under
HKEY_CURRENT_USER\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DatabaseOptions\LOV
because that key overrides the settings of the HKEY_LOCAL_MACHINE
0
 

Author Comment

by:PHIL Sawyer
ID: 39902736
rhinok
spot on - it works on the server but not locally
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

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…
Loops Section Overview
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

782 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