Skip to Content
0
Former Member
Sep 01, 2010 at 05:06 PM

Dynamic Prompt not returning all values it should

32 Views

I am using Crystal Report 2008 CR Developer with service pack 3.1.

I have a report that has a SQL command statement.

Using just the SQL statement, I get all results correctly (all "Events" show up).

When I use the same report and create a dynamic prompt for the "Events", I get some of the values in the results, but not all of them.

Also, the Events that I do get back in my results change randomly (one time I get Court Trial, the next time I don't).

The u201CEventsu201D field is the 2nd Group in the report.

I also have a date time parameter in the report.

The only thing Iu2019ve found so far related to this is the Max Rowset issue.

I have used the registry fix to set the LOV value to 3000, even though there are only 1644 possible values for that particular field in the database. I changed it for all versions 11, 11.5 & 12.

HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Crystal Reports\DatabaseOptions\LOV "MaxRowsetRecords"="3000"

My understanding of Dynamic Prompts is that each time the report is run, it first looks at all possible values in that field and return those as values to select in the prompt. For example, if there were 1644 values in the table, it would show 1644 values to select in the parameter to be used in the report. Is that regardless of group level or date parameter or if "Save Data with Report" is selected?

Any ideas on why my parameters are not pulling the correct list of values to select for use in the report?