Thanks. I just now noticed the control below that allows the user to select the "chunks". I had added the registry key earlier, but it didn't look like it had done anything, because all the time I was not seeing the "chunk" selector. Now I see that the registry key is allowing me to have more chunks of data. EXCELLENT! THANKS!
Main Topics
Browse All Topics





by: rhinokPosted on 2009-05-04 at 11:21:54ID: 24297711
Unlike prior versions of Crystal Reports, Crystal Reports 2008 lets you break up a long list of values into chunks, making it much more user friendly. It also gives you the end user the ability to filter and search for parameter values. The chunks have predefined limits, but the number of chunks is limited to 5, by default. The MaxRowsetRecords registry hack still works, but you need to apply it in the right place. Also, by increasing the number of records allowed, it increases the number of chunks. To create the key:
- Create HKEY_LOCAL_MACHINE\SOFTWAR
E\Business Objects\Suite 12.0\Crystal Reports\DatabaseOptions\LO V - Add DatabaseOptions under Crystal Reports.
- Add LOV under DatabaseOptions.
- Add Stringkey MaxRowsetRecords under LOV
- Set value to maximum number of records to read - whatever is appropriate for your environment
FYI - I just tested this against my client's list of employees (>13k employees) and it worked well.On a side note, the filtering feature works great, but can be a little confusing. In my case, the parameter value I created was a numeric value, because the employee IDs are numeric. These show up with a comma in the parameter list, since they're numbers (ex: 1,111). When you want to filter against numbers, you need to include the comma. So, if I was looking for all of the employees starting with the "16 thousand" numbers, I'd use a "16," as the filter. No wildcard is necessary. This would return all employees starting with "16," (16,000 - 16,999). Please note, the quotes aren't necessary, either. I just used them within the sentence.
~Kurt