adding up check marks for a report

K

Kay

I currently have a field with a yes/no data type named "no
show". I would check this box on a form if the client
does not show up to the appointment. in a monthly report,
i would like to report the number of no shows for that
month, what do i need to do to get that value?
 
A

Alan

In the footer of the report add a text box and set its
control sourse to "=abs(sum([me.chkNoShow]))". Check boxes
store checks as -1 and no checks as 0. That is why you
have the absolute value function. Also a check box will
never be null. It is either a -1 or 0, true or false , yes
or no, all work the same in code.
 

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