TechSlinger
Technical User
Hi
I am using Crystal Reports 9.0 reporting from an Access database.
I have multiple groups in my report: 1) patient type (Medicine, Surgery, Obstetrical, Psychiatry and Paediatrics), 2) DOW (Weekday, Weekend), and 3) admit type (Urgent, Non-Urgent).
What I want to do is create a text box citing the various data elements per Group 1 i.e. "There were "+totext(var1,0)+" deaths during this timeframe.
However, I can't seem to figure out how to reference the arrays of the various groups. Using a statement like "If grpName1 = "Weekend" and grpName2="Urgent" then sum(deaths)" works but only if the last occurrence of each of those groups is Weekend and Urgent, otherwise it doesn't.
Is it possible to get at the values per group result in this fashion? If not, is there a way? Thanks.
I am using Crystal Reports 9.0 reporting from an Access database.
I have multiple groups in my report: 1) patient type (Medicine, Surgery, Obstetrical, Psychiatry and Paediatrics), 2) DOW (Weekday, Weekend), and 3) admit type (Urgent, Non-Urgent).
What I want to do is create a text box citing the various data elements per Group 1 i.e. "There were "+totext(var1,0)+" deaths during this timeframe.
However, I can't seem to figure out how to reference the arrays of the various groups. Using a statement like "If grpName1 = "Weekend" and grpName2="Urgent" then sum(deaths)" works but only if the last occurrence of each of those groups is Weekend and Urgent, otherwise it doesn't.
Is it possible to get at the values per group result in this fashion? If not, is there a way? Thanks.