Hi all,
I have a text box on my form, who's control source is
This seems to be counting to be counting all records from tblNotesNew where the Note_Type is Quote, and ignoring the Quote_ID part of the DCount.
How can I adjust this so the DCount factors in both criteria?
Thanks
I have a text box on my form, who's control source is
Code:
=DCount("Quote_ID","tblNotesNew",("Quote_ID =" & [QuoteID] And "Note_Type = 'Quote'"))
This seems to be counting to be counting all records from tblNotesNew where the Note_Type is Quote, and ignoring the Quote_ID part of the DCount.
How can I adjust this so the DCount factors in both criteria?
Thanks