C
Chrissy
What is wrong with the date portion of this code?
=ECount("[ClientID]","[tbl 1 Client]","[Source]=""" & [Source] & """" And
"[SinceDate] between #" & [Forms]![9frmDateSelector]![txtStartDate] & "# and
#" & [Forms]![9frmDateSelector]![txtEndDate] & "#",True)
If I remove the date portion -- only counting [Source] -- the count is
correct.
If I leave it as it is above, the count is ALL clients -- no qualification
for [Source] or date range.
So, I know it is wrong for the dates. But...what is correct? Is it the
quotes?
I appreciate the help.
=ECount("[ClientID]","[tbl 1 Client]","[Source]=""" & [Source] & """" And
"[SinceDate] between #" & [Forms]![9frmDateSelector]![txtStartDate] & "# and
#" & [Forms]![9frmDateSelector]![txtEndDate] & "#",True)
If I remove the date portion -- only counting [Source] -- the count is
correct.
If I leave it as it is above, the count is ALL clients -- no qualification
for [Source] or date range.
So, I know it is wrong for the dates. But...what is correct? Is it the
quotes?
I appreciate the help.