Results 1 to 2 of 2

Thread: DCount

  1. #1
    Join Date
    Sep 2005
    Posts
    313

    Unanswered: DCount

    Hi,

    If (DCount("[Ta]", "Vendor", "[Name] = '" & Form_Vendor.Name & "' and [Tax] = '" & Form_Vendor.Tax & "' and isnull([code])=true") > 0) Then

    If (DCount("[Ta]", "Vendor", "[Name] = '" & Form_Vendor.Name & "' and [Tax] = '" & Form_Vendor.Tax & "' and not(isnull([code]))") > 0) Then

    Can the Dcount function criteria setup "NOT Null"

    The function I want to find the how many "[Ta]" records with [Name] = Form_Vendor.Name and [Tax] = Form_Vendor.Tax and
    Not(isnull([code]))

    How can setup the not null criteria?

    Dcount cannot setup NOT NULL. ???
    Thanks.

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    You're thinking to hard

    "[code] IS NOT NULL"
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

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