Hello:
I have a report that is grouped by Product Type. In the detail section, I am currenly focusing on the following fields:
[GWP]
[Binding_Percent age]
In the Product Type footer I placed two unbound text boxes. The first on is called "SumofGWP" with its control source set to[code=vb]=Sum([GWP]) [/code]. That works no problem.
The second box is called "Sum_ByPer_GWP" . This needs to sum only the [GWP] whose [Binding_Percent age] is >= 75. So I thought I would set the control source to: [code=vb]=Sum(IIf([GWP]="[Binding_Percent age] >= 75",0)) [/code] , but I get an error when I run the report indicating that the
[code=text]
This expression is typed incorrectly, or it is too complex to be evaluated. Try simplifying the expression..... ..[/code]
I have the "RunningSum " properties of my [Sum_ByPer_GWP] set to "No"
Any ideas what I am missing?
Thanks,
Keith.
I have a report that is grouped by Product Type. In the detail section, I am currenly focusing on the following fields:
[GWP]
[Binding_Percent age]
In the Product Type footer I placed two unbound text boxes. The first on is called "SumofGWP" with its control source set to[code=vb]=Sum([GWP]) [/code]. That works no problem.
The second box is called "Sum_ByPer_GWP" . This needs to sum only the [GWP] whose [Binding_Percent age] is >= 75. So I thought I would set the control source to: [code=vb]=Sum(IIf([GWP]="[Binding_Percent age] >= 75",0)) [/code] , but I get an error when I run the report indicating that the
[code=text]
This expression is typed incorrectly, or it is too complex to be evaluated. Try simplifying the expression..... ..[/code]
I have the "RunningSum " properties of my [Sum_ByPer_GWP] set to "No"
Any ideas what I am missing?
Thanks,
Keith.
Comment