Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Posts
    294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    counting records on a report (Access 2003 )

    Try to count number of yes responses on a report...

    =Count(IIf([Available on Monday?]="Yes")

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: counting records on a report (Access 2003 )

    Try
    <code>
    =Abs(Sum([Available on Monday?]="Yes"))
    </code>
    This assumes that Available on Monday? is a text field. If it is a Yes/No field, use the following instead:
    <code>
    =Abs(Sum([Available on Monday?]))
    </code>
    (Explanation: True = -1 and False = 0; the Sum function adds the -1 values, the Abs function removes the minus sign)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •