Display sum of boolean field with positive numbers
Is there a way to display the sum of a boolean field with positive numbers? The expression belows provides me with the correct sum totals for the "married" field except that they are always displayed with a minus sign preceding the answer.
[SUM(<frxDBDataset1."Married">,MasterData1,1)]
Thanks for any help,
Brent
[SUM(<frxDBDataset1."Married">,MasterData1,1)]
Thanks for any help,
Brent
Comments
In version 2.5x the code I used below provided me with exacly what I needed. I cannot do that with version 3.x. In fact the code generator in 2.5x wrote most of the code.
[SUM([AdsQuery1."Married"]=TRUE)]
_____________________________________
Could you post an example script? I believe that would be more helpful than just saying you need to write scripts.
Thanks,
Brent
[ABS(<SUM(<frxDBDataset1."Married">,MasterData1,1)>)]
Brent