on 01-08-2014 10:27 PM
Hi,
In my database table,there are 8 different year period, however, when i run the report, it display only 2 years period for me to select, is there any something wrong on my setting? what I need to do in order to display all year period for the year parameter?
I install crystal report 2011 on my laptop..
Thanks
Kelvin
guy, thanks for the answers, I found one link is helpful:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you test this with a 'New' dynamic parameter that is created by selecting the 'New' radio button instead of 'Existing' in the 'Edit Parameter' window.
It is strange to see this happening for a list of just 8 values.
-Prathamesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is doing this because it doesn't read all of the records in order to provide the list. If you search here, you should be able to find information about a registry key you can set to increase that number. However, this can be slow and there is a better way to do this.
I would create a command (SQL Select Statement) that pulls just the distinct list of year periods. DO NOT link the command to any of the tables in your report - Crystal will throw up a warning that this configuration is generally not supported, but it's ok in this situation. Then use the values from the command ONLY in the prompt and not anywhere else in the report.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is still valid. Just fixed this issue i was having with Illinois counties, it was only showing me 5.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.