crogers111
Technical User
CRXI
SQL
I have a report (acutally it's a subreport) that lists the Patient info group footer. The grouping is PatientID which is a unique identifer that inlcudes the SSN thus each row in the report is a different Patient and generally only a few patients will appear.
SAMPLE OF OUTPUT:
PatientName AmountPaid
Sally Jones $ 9,000
Joe Smith $ 8,500
Tom Wilson $ 5,800
There is a Pie Chart in the Report Header that shows a slice for each patient.
PROBLEM: The report users have asked for a prompt/parameter to allow the names to be hidden or disguised from the report at runtime if so desired. I have created the parameter and can suppress the Patient Names in the footer, but how do I hide or disguise the names in the Pie Chart Legend so that the legend still displays with the colors and amounts but only the names are changed ?
ATTEMPTS:
-Creating a runnning total formula and identifying each patient as 'Patient 1' 'Patient 2', 'Patient 3' instead of their name...but since a RT is a print time formula I can't chart on it in my subreport.
-I tried using a formula that makes the patient name blank/empty string but then all patients have the same blank name and are displayed as 1 in the chart
- I created a blank text box and made the background all white. I tried to use this to cover the legend area of the names and have it conditionally suppressed based on the parameter. Unfortunately, the legend appears to grow horizontally based on the name lengths. This option works if I want to hide the entire Legend but I need to only hide/disguise the names and still show the color block and amount.
I'm open to a formula that would scramble the SSN, Patient Name other ID field if the parameter to hide was selected and thinking this is the way I need to go. I would need to ensure each Patient was a unique.
Any other thoughts on how to accomplish this or a formula for scrambling a text string would be much appreciated !
SQL
I have a report (acutally it's a subreport) that lists the Patient info group footer. The grouping is PatientID which is a unique identifer that inlcudes the SSN thus each row in the report is a different Patient and generally only a few patients will appear.
SAMPLE OF OUTPUT:
PatientName AmountPaid
Sally Jones $ 9,000
Joe Smith $ 8,500
Tom Wilson $ 5,800
There is a Pie Chart in the Report Header that shows a slice for each patient.
PROBLEM: The report users have asked for a prompt/parameter to allow the names to be hidden or disguised from the report at runtime if so desired. I have created the parameter and can suppress the Patient Names in the footer, but how do I hide or disguise the names in the Pie Chart Legend so that the legend still displays with the colors and amounts but only the names are changed ?
ATTEMPTS:
-Creating a runnning total formula and identifying each patient as 'Patient 1' 'Patient 2', 'Patient 3' instead of their name...but since a RT is a print time formula I can't chart on it in my subreport.
-I tried using a formula that makes the patient name blank/empty string but then all patients have the same blank name and are displayed as 1 in the chart
- I created a blank text box and made the background all white. I tried to use this to cover the legend area of the names and have it conditionally suppressed based on the parameter. Unfortunately, the legend appears to grow horizontally based on the name lengths. This option works if I want to hide the entire Legend but I need to only hide/disguise the names and still show the color block and amount.
I'm open to a formula that would scramble the SSN, Patient Name other ID field if the parameter to hide was selected and thinking this is the way I need to go. I would need to ensure each Patient was a unique.
Any other thoughts on how to accomplish this or a formula for scrambling a text string would be much appreciated !