Results 1 to 3 of 3
  1. #1
    behnam is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    72

    How to return the number of checked items in a table.

    Hi all,

    I have a table and one of the fields is called resolved. This field is represented by a checkbox. How can i return the count of the number of items that are checked in this column of the table. I want to then return this value and write it in a textbox i created called text16.

    Thanks for the help

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,526
    text16 = Dcount("[resolved]","table","[resolved]=true")

  3. #3
    behnam is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    72
    Thank you very much!!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query to return blank or null items.
    By mulefeathers in forum Queries
    Replies: 3
    Last Post: 10-24-2013, 12:45 PM
  2. Replies: 8
    Last Post: 03-24-2012, 11:03 AM
  3. Simple query to show when items are not checked?
    By mrwistles in forum Queries
    Replies: 28
    Last Post: 09-02-2010, 02:52 PM
  4. Replies: 2
    Last Post: 08-09-2010, 08:13 AM
  5. Replies: 1
    Last Post: 02-05-2009, 04:53 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums