Hello
I am using Crystal 9 reporting from an Access 2003 database. Please note that I've read the other topics on ranking but can't seem to get my working.
My source data table has ED and inpatient visits by chart number (which is unique). I want to rank by 3 different groups: volumes of ED visits, volumes of inpatient visits, and volumes of patient days. Then I wish to add up all these ranks and use Top N on this total rank field for the main report.
In the main report I am grouped on chart number and showing various information like sex, age, residence. In the subreport for ED visits (which I assume will be for the others as well), I've grouped on chart number, sorted in ascending order on volumes of ED visits. I created a shared number variable in the subreport:
whileprintingrecords;
shared numbervar edrank;
edrank:=groupnumber;
And that's where I'm stuck. I know from a post by LB that I can't link to the chart number (which just shows each rank as 1 in the subreport) but when I follow instructions as stated in the same post about creating a shared stringvar in the main report which I use to suppress in the subreport, nothing shows up in the subreport.
Is what I'm hoping to do even possible? Any and all assistance greatly appreciated.
I am using Crystal 9 reporting from an Access 2003 database. Please note that I've read the other topics on ranking but can't seem to get my working.
My source data table has ED and inpatient visits by chart number (which is unique). I want to rank by 3 different groups: volumes of ED visits, volumes of inpatient visits, and volumes of patient days. Then I wish to add up all these ranks and use Top N on this total rank field for the main report.
In the main report I am grouped on chart number and showing various information like sex, age, residence. In the subreport for ED visits (which I assume will be for the others as well), I've grouped on chart number, sorted in ascending order on volumes of ED visits. I created a shared number variable in the subreport:
whileprintingrecords;
shared numbervar edrank;
edrank:=groupnumber;
And that's where I'm stuck. I know from a post by LB that I can't link to the chart number (which just shows each rank as 1 in the subreport) but when I follow instructions as stated in the same post about creating a shared stringvar in the main report which I use to suppress in the subreport, nothing shows up in the subreport.
Is what I'm hoping to do even possible? Any and all assistance greatly appreciated.