B
BarbaraH.
I have tried many different tools to get a count of a
subset of records in a table. These include DCount,
DLookup, and RecordCount of a recordset.
All have failed me due to the same problem. I can't get a
date comparison to work.
However, I am able to accurately get a count of records
using a DoCmd.OpenQuery statement with a query that
somehow can handle the date comparison correctly. I tried
posting a question on help for why the date comparison
isn't working, but no one answered.
So my question here is: is there any way to return the
count total from a DoCmd.OpenQuery statement that comes up
with a value in a CountOfFieldName field?
Thanks for any help or suggestions you may have.
subset of records in a table. These include DCount,
DLookup, and RecordCount of a recordset.
All have failed me due to the same problem. I can't get a
date comparison to work.
However, I am able to accurately get a count of records
using a DoCmd.OpenQuery statement with a query that
somehow can handle the date comparison correctly. I tried
posting a question on help for why the date comparison
isn't working, but no one answered.
So my question here is: is there any way to return the
count total from a DoCmd.OpenQuery statement that comes up
with a value in a CountOfFieldName field?
Thanks for any help or suggestions you may have.