checkbox "sum"?

A

Anna C.

I have a few checkboxes in my detail section in the report, but in the
end I would need to have some sort of summary of whether a checkbox
was checked or not. For example, there are five records, and only 1
checkbox is checked, I need for a checkbox in the footer to be
checked. Is there any function or formula that lets me do that? I put
in an expression, but it only reads the last record. I need for it to
cycle through all records and if at least box checked, mark it checked
in the footer. C'mon geniuses, help me please... Thank you very
much!
 
M

Marshall Barton

Anna said:
I have a few checkboxes in my detail section in the report, but in the
end I would need to have some sort of summary of whether a checkbox
was checked or not. For example, there are five records, and only 1
checkbox is checked, I need for a checkbox in the footer to be
checked. Is there any function or formula that lets me do that? I put
in an expression, but it only reads the last record. I need for it to
cycle through all records and if at least box checked, mark it checked
in the footer. C'mon geniuses, help me please...


Set the footercheck box's expression to something like:

=Sum([fieldname])

Make sure the fieldname is the name of the field in the
record source table/query and not the name of a control in
the report.
 

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