bethabernathy
Programmer
Hi There:
I am trying to count the number of "Collisions" where the data is "yes" in a report that is based on a query, but I want the total number of "Collisions" in the whole database not those pulled in the query record set. So this is where I am at:
=DCount([Collision]=1,"tblincident"
This is counting all the records for "Collision". What I want to count all the "Collision" in the database where the value is "Yes". I am working on trying to use the
=DCount(Abs([Collision])),"tblincident"
as this "Yes/No" field is giving me some problems, but the above syntax is wrong. Any ideas??
Thanks for everything.
Beth
I am trying to count the number of "Collisions" where the data is "yes" in a report that is based on a query, but I want the total number of "Collisions" in the whole database not those pulled in the query record set. So this is where I am at:
=DCount([Collision]=1,"tblincident"

This is counting all the records for "Collision". What I want to count all the "Collision" in the database where the value is "Yes". I am working on trying to use the
=DCount(Abs([Collision])),"tblincident"

as this "Yes/No" field is giving me some problems, but the above syntax is wrong. Any ideas??
Thanks for everything.
Beth