Nov 13, 2008 #1 Jagstrom Technical User Joined Nov 13, 2008 Messages 18 Location US =DCount("[Disposition]","History Query","[Disposition]='Wrong Number'") this works with [Disposition] = Wrong Number but what about when [Disposition] = "Wrong Nmber" or simply put how do I compare when Quotes are part of the text value?
=DCount("[Disposition]","History Query","[Disposition]='Wrong Number'") this works with [Disposition] = Wrong Number but what about when [Disposition] = "Wrong Nmber" or simply put how do I compare when Quotes are part of the text value?
Nov 13, 2008 #2 Remou Technical User Joined Sep 30, 2002 Messages 13,030 Location BE It should be ok to include the quotes: =DCount("[Disposition]","History Query","[Disposition]='""Wrong Number""'") Upvote 0 Downvote
It should be ok to include the quotes: =DCount("[Disposition]","History Query","[Disposition]='""Wrong Number""'")
Nov 13, 2008 Thread starter #3 Jagstrom Technical User Joined Nov 13, 2008 Messages 18 Location US =DCount("[Disposition]","History Query","[Disposition]=""Wrong Number""") produces 0 result Upvote 0 Downvote
Nov 13, 2008 #4 randy700 Programmer Joined Sep 25, 2003 Messages 2,384 Location US Jagstrom, You did not copy Remou's code correctly. Look closely and you'll see single quotes as well as double quotes. Randy Upvote 0 Downvote
Jagstrom, You did not copy Remou's code correctly. Look closely and you'll see single quotes as well as double quotes. Randy
Nov 13, 2008 Thread starter #5 Jagstrom Technical User Joined Nov 13, 2008 Messages 18 Location US my bad, not sure how I done that but, Your right Thanks guys Upvote 0 Downvote