J
Jonas
I want to be able to use the DCount function with a variable. I have
tried a few different things but I can't find the right formula. Here
is what I have:
cntnumber = DCount("[TikSym]", "tblCurHold", "[SecIDauto] ='" _
& secidvar1 & "'")
If I replace secidvar with 1 and change the formatting, the Dcount
formula works. 1 is possible number for the variable secidvar1.
I can't see what I am doing wrong. Any help is appreciated.
tried a few different things but I can't find the right formula. Here
is what I have:
cntnumber = DCount("[TikSym]", "tblCurHold", "[SecIDauto] ='" _
& secidvar1 & "'")
If I replace secidvar with 1 and change the formatting, the Dcount
formula works. 1 is possible number for the variable secidvar1.
I can't see what I am doing wrong. Any help is appreciated.