Access stores True as -1, and False as 0.
You can therefore sum a yes/no field, and negate the result to get a count,
i.e.:
- Sum([MyYesNoField])
You say you do this quite a bit, so you might want to consider doing the job
properly. To design it in a normalized way, you would use a junction table
to handle the many-to-many relation between tables Person and HowHeard.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"James" <j.*******@stir.ac.uk> wrote in message
news:dk**********@dulnain.stir.ac.uk...
Hi
I have a table which asks how people heard about a subject. As it is one
to many I have created checkboxes for each option. Trouble is I now want a
report which will give each option and a count of how many times it has
been selected.
Can anyone help?
James