sum of check box

G

Guest

Hi,

I made a report from a query. In my report I have multiple check box
(yes/no). I would like to sum all the yes check box at the end of the report.
I tried

=Abs(Sum([name_of field]))

as well as

=Sum(IIf([name_of_field]=True,1,0))

and for both, I get the result on the report as ''yes''....???...

Any suggestion? Thanking you in advance!

Cheers,

Ka
 
G

Guest

Thanks!

It works.
--
Ka


Pieter Wijnen said:
Fix the format property of the sum control (xerox engineering?)

Pieter

ka said:
Hi,

I made a report from a query. In my report I have multiple check box
(yes/no). I would like to sum all the yes check box at the end of the
report.
I tried

=Abs(Sum([name_of field]))

as well as

=Sum(IIf([name_of_field]=True,1,0))

and for both, I get the result on the report as ''yes''....???...

Any suggestion? Thanking you in advance!

Cheers,

Ka
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top