I'm using Crystal 9 with Informix
The table I'm using lists the daily amount of time spent on various tasks, all with separate fields (c1, c2, c3,...,c30). I summarize each in the group footer for monthly totals. However, I need to somehow display the 3 highest totals for each month in a chart.
what I have now:
{date} {c1} {c2} {c3} {c4} {c5} {c6} {c7} (until c30)
2/1 5 10 2 30 4 10 15
2/2 7 5 5 11 30 5 7
2/3 10 5 1 15 10 2 9
--------------------------------------------------
totals: 22 20 8 56 44 17 31
what I need to graph:
c4=56, c5=44, c7=31
I'm drawing a blank on how to do this. I think it might involve arrays, but I'm not sure how. Any help would be greatly appreciated. Thanks in advance!
The table I'm using lists the daily amount of time spent on various tasks, all with separate fields (c1, c2, c3,...,c30). I summarize each in the group footer for monthly totals. However, I need to somehow display the 3 highest totals for each month in a chart.
what I have now:
{date} {c1} {c2} {c3} {c4} {c5} {c6} {c7} (until c30)
2/1 5 10 2 30 4 10 15
2/2 7 5 5 11 30 5 7
2/3 10 5 1 15 10 2 9
--------------------------------------------------
totals: 22 20 8 56 44 17 31
what I need to graph:
c4=56, c5=44, c7=31
I'm drawing a blank on how to do this. I think it might involve arrays, but I'm not sure how. Any help would be greatly appreciated. Thanks in advance!