Counting Tick Boxes.

  • Thread starter Thread starter Tom Transfield
  • Start date Start date
T

Tom Transfield

When you count tick boxes they are counted as -1. How do you convert the
Minus numbers to positive numbers.

I have read the Microsoft solution but is appears to only relate the Report
footers.

Is there a way to do it in the query design view some how.

Kind regards.

Tom Transfield
From the land down under....
 
When you count tick boxes they are counted as -1. How do you convert the
Minus numbers to positive numbers.

I have read the Microsoft solution but is appears to only relate the Report
footers.

Is there a way to do it in the query design view some how.

Kind regards.

Tom Transfield
From the land down under....

Using an unbound text control in a report:
= Abs(Sum([CheckBoxField]))
will return the count of how many boxes are checked (as a positive
number).

In a query:
SELECT tblBasicData.CheckField, Sum(Abs([CheckField])) AS
CountOfChecked
FROM tblBasicData
GROUP BY tblBasicData.CheckField;

I would do it 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

Back
Top