DCount

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Blue Lagoon Products - Customer Services

    #1

    DCount

    Hi,

    I have this below but it is always returning the value as 0, even when there
    is more than 1 record.


    =DCount("[Buyer ID]", "tblDownloa d", "[Buyer ID] = "" & me.txtBuyerIDTo p &
    "" ")

    Any idea's?

    --

    Thank You,

    Nick Jones
    Customer Services
    Blue Lagoon Products


  • deluxeinformation@gmail.com

    #2
    Re: DCount


    Blue Lagoon Products - Customer Services wrote:
    Hi,
    >
    I have this below but it is always returning the value as 0, even when there
    is more than 1 record.
    >
    >
    =DCount("[Buyer ID]", "tblDownloa d", "[Buyer ID] = "" & me.txtBuyerIDTo p &
    "" ")
    >
    Any idea's?
    If BuyerID is a number and not a character string then you've got too
    many double quotes. This should work:

    DCount("[Buyer ID]", "tblDownloa d", "[Buyer ID] = " & me.txtBuyerIDTo p)


    Bruce

    Comment

    Working...