Parameters - Cascading

PHIL Sawyer
PHIL Sawyer used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013

Commented:
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

Author

Commented:
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
Sr. Business Intelligence Consultant/Architect
Commented:
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.
Ido MilletProfessor of MIS at Penn State Erie and Owner, Millet Software
Commented:
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

Author

Commented:
rhinok
spot on - it works on the server but not locally

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial