Results 1 to 7 of 7

DCount criteria

Threaded View

  1. #1
    Forum Contributor
    Join Date
    07-06-2006
    Posts
    108

    DCount criteria

    Hi,

    When using the DCount function it counts the criteria for all the records. I want it to be limited to count for a specific value in a field.

    My current build looks as followed:
    AutoCountBE25: DCount("[POrg]='BE25'";"[Automation Ratio - Purchasing organisations BE25 and BE05]";"[Auto/Man]='auto'")

    As you can see in the attached Datasheet View it still counts "auto" for all the records instead of those for BE25 in the POrg field. AutoCountBE25 and ManCountBE25 should total BE25Count.
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1