Counting Records in a Qry

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rlawson76
    New Member
    • Mar 2008
    • 1

    Counting Records in a Qry

    I have a Qry which in one column calculates a result for each Record .

    I would like to count the number of records which the result is greater than a value ie 5.

    I have been trying to use a DCOUNT but i cannot seem to get it to work.

    Does anyone have any ideas?

    Thanks in advance
  • MindBender77
    New Member
    • Jul 2007
    • 233

    #2
    Have your tried changing the criteria in your count column to: > 5

    Bender

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32656

      #3
      Assuming the query is called [qryName] and the field with the result in is called [Result] then :
      Code:
      DCount("*", "[qryName]", "[Result]>5")

      Comment

      Working...