Results 1 to 3 of 3
  1. #1
    brandonze is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Mar 2011
    Posts
    49

    Count/Sum value in a textbox

    How do I display count/sum values in a textbox on a form?



    this is what I am doing and it is not working

    =Count([EmployeeRegistered])

    I have aslo tried

    =Count([QueryName]![EmployeeRegistered])

    I have tried boud to the query and unbound. No luck. I know I am missing something simple.

    Help Please?

  2. #2
    brandonze is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Mar 2011
    Posts
    49
    I fgured out the sum part of the problem, But now I am using the count function on a Yes/No check box and it is returning all of the records instead of only the number of checked records.

    im using

    =Count([EmployeeRegistered])

    Any thoughts?

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    =abs(sum([EmployeeRegistered]))

    takes the absolute value (removes a negative sign from a -1 (or positive) value of a yes/no field

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

Similar Threads

  1. Textbox Calculator
    By Randy in forum Access
    Replies: 10
    Last Post: 03-16-2019, 07:36 PM
  2. Textbox and numbers
    By GraemeG in forum Forms
    Replies: 1
    Last Post: 03-16-2011, 06:05 AM
  3. Not In statement from textbox - help please
    By jclausen in forum Access
    Replies: 4
    Last Post: 02-03-2011, 05:27 PM
  4. change() on the textbox
    By skywalker in forum Forms
    Replies: 0
    Last Post: 03-01-2009, 01:28 AM
  5. total in textbox
    By micfly in forum Access
    Replies: 3
    Last Post: 11-09-2008, 11:24 AM

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