I'm new at this Crystal stuff so bear with me.
I am using Version 8.5.
I am building a report where I include a number of notification messages by using formulas such as:
IF isnull({episode_history.date_of_discharge}) AND {staff_tx_history.SERVICE_CODE}="3010" and {?Run date} >= ({staff_tx_history.date_of_service}+90) then "A Face to Face is OVERDUE!"
I have grouped as follows: Group 1-Staff Name, Group 2- Patient Name, and Group3-Service Code. My formula must be placed in the 3rd group footer-Service code section because I only want to view the most current information.
I would like to count the number of time the "A Face to Face is OVERDUE!" message appears but have not had any luck. I would like the count to appear in the Group 1 footer and also have a grand total at the end of the report.
A distinct count always returns a value of 2, of course, counting 1 for when my text appears and another for when it does not. A count inflates the number because it is counting how many times it is possible for my formula to show and not taking into account the instances when I have "suppressed" it, so to speak.
I am trying to avoid adding another group because there are about 4 different formula notification messages I would like to do counts on. I"m thinking there must be a much better way to do this! Help!
I am using Version 8.5.
I am building a report where I include a number of notification messages by using formulas such as:
IF isnull({episode_history.date_of_discharge}) AND {staff_tx_history.SERVICE_CODE}="3010" and {?Run date} >= ({staff_tx_history.date_of_service}+90) then "A Face to Face is OVERDUE!"
I have grouped as follows: Group 1-Staff Name, Group 2- Patient Name, and Group3-Service Code. My formula must be placed in the 3rd group footer-Service code section because I only want to view the most current information.
I would like to count the number of time the "A Face to Face is OVERDUE!" message appears but have not had any luck. I would like the count to appear in the Group 1 footer and also have a grand total at the end of the report.
A distinct count always returns a value of 2, of course, counting 1 for when my text appears and another for when it does not. A count inflates the number because it is counting how many times it is possible for my formula to show and not taking into account the instances when I have "suppressed" it, so to speak.
I am trying to avoid adding another group because there are about 4 different formula notification messages I would like to do counts on. I"m thinking there must be a much better way to do this! Help!