Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Counting checked boxes on a crosstab report

Counting checked boxes on a crosstab report

Counting checked boxes on a crosstab report

Greetings again.
I have a report which can be opened to show data from 4 different crosstab queries, the number of columns being dependant on the number of records in that query.
First column shows a list of names, subsequent cols are check boxes under a date heading.
A checked box shows the named player is available on that date. So far brilliant (thanks Duane).

I am trying to show a textbox in the report footer with a total of the checked boxes in that column.

I have searched Tek-Tips, and tried several answers but I get "#error" in the box when the report is run, many of these are old answers, maybe Access has changed? I am using Access 2013 with (probably) an Access 2003 database.

Field name is a number, eg 6, with the checkbox being chk6

Is DCount an option here? but I can't work out the syntax.


RE: Counting checked boxes on a crosstab report

What happens if you try a control source of:

CODE --> ControlSource


Make sure you add this to a report or group header or footer, NOT a page header or footer section.

Hook'D on Access
MS Access MVP

RE: Counting checked boxes on a crosstab report

I saw several of your replies saying to use abs - but however I configured it all I got was the #error

You needed to tell me to use the report footer. Now it works a treat, thanks again.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close