DCount #NAME? error

gmmccarthy

Gary
Local time
, 20:13
Joined
Nov 28, 2005
Messages
20
This is my string to calculate the next increment # based on request date and users initials.

However, I get the #NAME? error when I run the form?


=DCount("[INCR]","tblPURD","[reqdate]=" &
Format(me.txtreqdate,"\#mm\/dd\/yyyy\#") & " AND [initials] = '" &
me.txtinitials & "'")+1

Any help will be appreciated.

Thanks.
 
Have you tried:
=DCount("[INCR]","tblPURD","[reqdate]= #" & me.txtreqdate & "# AND [initials] = '" & me.txtinitials & "'")+1
 
Thanks for the response.

I get the same error either way.

Gary
 
I would check the spelling of each of the names next.
 

Users who are viewing this thread

Back
Top Bottom