Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Mar 2002
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Count (Access 2000)

    In a query I have a column for Samples and a Diff column. I want to create a form that counts the number of samples, counts the number of samples with a Diff of greater than 0, counts the number of samples that has a Diff less than 1. Counting the number of samples works, =Count([Sample Number]) but I can't get the other two to work.

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

    Re: Count (Access 2000)

    To count the number of samples with Diff > 0:

    =DCount("*", "QueryName", "Diff > 0")

    and to count the number of samples with Diff < 1:

    =DCount("*", "QueryName", "Diff < 1")

    where QueryName is the name of the query in which Diff is calculated.

Posting Permissions

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