I am using dCount in a text bot and I want a count of "Member" and "Added to membership" from my query.
=DCount("MailingID","q_Directive_track_NOVs","(Ord er_Response = ‘Member’ OR Order_Response = ‘Added to membership’)")
I am using dCount in a text bot and I want a count of "Member" and "Added to membership" from my query.
=DCount("MailingID","q_Directive_track_NOVs","(Ord er_Response = ‘Member’ OR Order_Response = ‘Added to membership’)")
Looks okay. What happens - error message, wrong result, nothing?
The inner pair of parens are not needed but should not hurt.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
=DCount("MailingID","q_Directive_track_NOVs","[Order_Response] = ‘Member’ OR [Order_Response] = ‘Added to membership’")
Thanks for the responses. I am still getting #Error in the text box though.
Got it to work:
=DCount("MailingID","q_Directive_track_NOVs","[Order_Response] = 'Member' OR [Order_Response] = 'Added to membership'")
Thanks for the help!!!
Now I can see the original code has 'smart' single quotes. Did replacing them resolve? How did they get in there to begin with?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.