Hi
I have a report showing counts of Applicants by Office and by Region. I have defined two parameters:
[ul square]
[li]Region[/li]
[li]Office[/li]
[/ul]
These two parameters are also groups in my report with Region as the outer group and Office as the inner group.
What I want is to be able to filter the information by Region and then by Office ie I would like to see the following behaviour when I preview after having entered new values for the report:
1)If I select a Region but no offices I want to be able to
see data for all the offices in that Region
2)If I select a number of Offices I want to be able to see all those offices depending on the Region selected.
The idea behind this is to give the user a choice between filtering the data on region or on office as some users want to see the data by region whereas as other would like to be able to select only a few offices from different regions may be.
The problem I am encountering:
Despite the fact that the Region parameter is defined first when I come to preview the report Crystal doesn't show anything if I just select a region but don't select any offices. The only way data is shown is when I specifically choose the offices I want to see. This is not how I'd like it to work. However (and this I really don't get) if I select the region with the first office in the list Alton the data for Alton appears (but none of the other offices in the same region appear with it.
I am viewing the report using the Data Link Viewer by Millet Software but this does not seem to make any difference. The only other thing to note is that I have a 'dummy' table containing a list of all regions and offices and do a left outer join to the main table listing all the applicants so that the report shows groups with 0 value.
Any help much appreciated on this one as I will have to design many reports with parameters where one is the subgroup of the other
Nassy
I have a report showing counts of Applicants by Office and by Region. I have defined two parameters:
[ul square]
[li]Region[/li]
[li]Office[/li]
[/ul]
These two parameters are also groups in my report with Region as the outer group and Office as the inner group.
What I want is to be able to filter the information by Region and then by Office ie I would like to see the following behaviour when I preview after having entered new values for the report:
1)If I select a Region but no offices I want to be able to
see data for all the offices in that Region
2)If I select a number of Offices I want to be able to see all those offices depending on the Region selected.
The idea behind this is to give the user a choice between filtering the data on region or on office as some users want to see the data by region whereas as other would like to be able to select only a few offices from different regions may be.
The problem I am encountering:
Despite the fact that the Region parameter is defined first when I come to preview the report Crystal doesn't show anything if I just select a region but don't select any offices. The only way data is shown is when I specifically choose the offices I want to see. This is not how I'd like it to work. However (and this I really don't get) if I select the region with the first office in the list Alton the data for Alton appears (but none of the other offices in the same region appear with it.
I am viewing the report using the Data Link Viewer by Millet Software but this does not seem to make any difference. The only other thing to note is that I have a 'dummy' table containing a list of all regions and offices and do a left outer join to the main table listing all the applicants so that the report shows groups with 0 value.
Any help much appreciated on this one as I will have to design many reports with parameters where one is the subgroup of the other
Nassy