I am working on a report that was created by someone else utlizing many arrays. This array is brining in a datetime value of the time certain systems are back online. Problem is there are some database alerts (HP Openview) that are being automaticallly sent into the DB and causing unneeded downtimes to be automatically entered causing the report to show duration times (formula) that are adding to that total and do not need to be. Example below:
Downtime (Field) Uptime (Array formula),Duration(formula)
05-17-2006 13:06:35,05-17-2006 12:07:18, 0:43
05-22-2006 19:26:14,05-31-2006 18:22:15, 12896:01
05-31-2006 18:21:45,05-31-2006 18:22:15, 0:30
see how the second entry takes care of the 3rd entry timewise? the 3rd entry is already encapsulated in the 2nd entry's time frame. Looks like the array is working right, but the Downtime (Field) is the one that is being entered via the database alert and is adding this unneeded downtime duration.
I need to find a way to suppress the section, these are in the detail section, so that these unneeded duration times are not added. I have tried writing code in the suppression section of the section expert as follows:
downtime <= previous(uptime)
but uptime is an array and Crystal will not recognize this. Can anyone point me in the right direction?
Thanks!
Downtime (Field) Uptime (Array formula),Duration(formula)
05-17-2006 13:06:35,05-17-2006 12:07:18, 0:43
05-22-2006 19:26:14,05-31-2006 18:22:15, 12896:01
05-31-2006 18:21:45,05-31-2006 18:22:15, 0:30
see how the second entry takes care of the 3rd entry timewise? the 3rd entry is already encapsulated in the 2nd entry's time frame. Looks like the array is working right, but the Downtime (Field) is the one that is being entered via the database alert and is adding this unneeded downtime duration.
I need to find a way to suppress the section, these are in the detail section, so that these unneeded duration times are not added. I have tried writing code in the suppression section of the section expert as follows:
downtime <= previous(uptime)
but uptime is an array and Crystal will not recognize this. Can anyone point me in the right direction?
Thanks!