M
Mark
Hi All,
I have a continuous form, and need to count some records based on a date
field. I need to put the counted total in the footer.
I know I can use the COUNT function to count all records, but I need to
count fields only when they meet certain criteria. (I.e. count all records
where [Date] field is in the past.)
It looks like the DCount function allows 'WHERE' criteria, but the data on
the form can be filtered by the user. Is there any way to reference the
forms current recordset in the DCount function?
Any other ideas?
Thanks in advance,
Mark
I have a continuous form, and need to count some records based on a date
field. I need to put the counted total in the footer.
I know I can use the COUNT function to count all records, but I need to
count fields only when they meet certain criteria. (I.e. count all records
where [Date] field is in the past.)
It looks like the DCount function allows 'WHERE' criteria, but the data on
the form can be filtered by the user. Is there any way to reference the
forms current recordset in the DCount function?
Any other ideas?
Thanks in advance,
Mark