Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Dynamic Cascading Parameter Issue Post Reply Post New Topic
Author Message
dovrlrd
Newbie
Newbie


Joined: 10 Apr 2008
Online Status: Offline
Posts: 8
Quote dovrlrd Replybullet Topic: Dynamic Cascading Parameter Issue
    Posted: 26 Feb 2009 at 9:47am
I am building a Crystal Report that will be called from an ASP page. This is currently being designed in VS2005 with CR2008. (CR is up to date.) I have not created the Windows Installer for the project yet, since its still under development. I am only viewing the Web Pages and Reports via the VS2005 Debugger.

This Web Site has dozens of CR Reports, but with this particular one, I want to add Cascading Parameters to allow the user to zero in on the information they want returned. Cascading Parameters seems like a straightforward concept.

However, if I add more than two layers of parameters and debug the website and go to the report. The drop down to pick the first layer only lists the first entry. Now, if I remove some of the layers, so there are only two layers, the drop down is properly populated.

Here it is with more specifics. This is for telephony, but you should get the gist.

Parameters I want to cascade:
Region (East, West, Central, Rochester)
State
Host Switch
Trunk Group number

If I build a Cascading Parameter as above, the drop down only shows: CENTRAL (which alphabetically would be first in the list)

If I remove the levels of: "Host Switch" and "Trunk Group Number", the drop down from region shows (CENTRAL, EAST, WEST, ROCHESTER) as expected.

If I add back "Host Switch" and "Trunk Group Number" into the cascade of parameters, it goes back to just showing CENTRAL. Even if I add just "Host Switches", the other Regions seem to vanish from the drop down choices.

I am stumped because, as I said, the concept of Cascading Parameters to a CR seems straightforward. I have made literally hundreds of Crystal Reports for ASP pages before, but now as I review them, I never had a report with more than 2 cascading parameters. Every forum and book I have read on cascading parameters tells me that you can have virtually infinite cascading parameters.

Please help!
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 27 Feb 2009 at 7:03am

I am sure that I have gone more than 2 levels in cascading parameters, but we use a custom interface now, so it has been a while.

All that comes to mind is that when you join the tables, only Central has information that is valid for all levels...though that doesn't really make sense as switches are everywhere.  I am assuming that you are using valid data...test data can be so flawed at times.
 
Since I don't work in ASP there might be some interaction there as well, but as you said, Cascading Parameters seems like a pretty straightforward concept and should be unlimited.
 
Hope this helped
 
 
IP IP Logged
dovrlrd
Newbie
Newbie


Joined: 10 Apr 2008
Online Status: Offline
Posts: 8
Quote dovrlrd Replybullet Posted: 27 Feb 2009 at 7:09am

After somesearching on various forums, I found the answer. I had to edit the registry to increase the number of allowable rows. This did fix the problem.

If the cascade of parameters will end up possibly listing more than 1000 entries...this is the way to fix it.

 
I don't have the details in front of me right now, but do a search on registry databaseoptions/LOV...you shoudl come across it.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.