W
williamr
I am trying to create a query that counts. I want to use it for a chart to
show how many times I do something every month. I do it in a text box using
the following code.
=DCount("dateModified","tbl-Offsites","DateDiff('m', datemodified, Now)=0")));
I put the following in a query, it seams to work but no results.
SELECT [tbl-Offsites].datemodified
FROM [tbl-Offsites]
WHERE
((([tbl-Offsites].datemodified)=DCount("dateModified","tbl-Offsites","DateDiff('m', datemodified, Now)=0")));
Thanks In Advance
show how many times I do something every month. I do it in a text box using
the following code.
=DCount("dateModified","tbl-Offsites","DateDiff('m', datemodified, Now)=0")));
I put the following in a query, it seams to work but no results.
SELECT [tbl-Offsites].datemodified
FROM [tbl-Offsites]
WHERE
((([tbl-Offsites].datemodified)=DCount("dateModified","tbl-Offsites","DateDiff('m', datemodified, Now)=0")));
Thanks In Advance