Nov 13, 2008 #1 Jagstrom Technical User Nov 13, 2008 18 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 Sep 30, 2002 13,030 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 Nov 13, 2008 18 US =DCount("[Disposition]","History Query","[Disposition]=""Wrong Number""") produces 0 result Upvote 0 Downvote
Nov 13, 2008 #4 randy700 Programmer Sep 25, 2003 2,384 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 Nov 13, 2008 18 US my bad, not sure how I done that but, Your right Thanks guys Upvote 0 Downvote