使用 VS 2008 Crystal Reports,我想对根据组更改计算的公式进行汇总。当我单击添加运行总计时,此公式不会出现在可用表和字段列表中。
这是逻辑:
On Change Group of group
if CalculatedValue > 0 then
ReportRunningTotal1 += CalculatedValue
else
ReportRunningTotal2 += CalculatedValue
我可以在运行总计中指定一个条件吗?如果没有,我还能怎么做?
更多信息:我正在GroupRunningTotal
对 db field 的值进行运行总计BillableHours
。在更改组时,我正在与GroupRunningTotal
该组的 db 字段进行比较,并在组级别 MaxHours
显示结果。MaxHours - GroupRunningTotal
Appropriate today - Think of it like the electoral college - the person who wins the election does not depend on total number of votes, but of number of votes in the electoral college.