D
deaconj999
I need to count the number of values in a column that have been
recorded with the Yes/No tick box on the main form of my database
So far, I have tried
=DCount("*","[Table1]","[sleep risk]='true'")
=DCount("*","[Table1]","[sleep risk]='yes'")
and a few others that don't work either.
Secondly, I also have to count a number of dates entered in a column
[date fsmp sent] to give me the total number of date entries in that
column that were witihn the last 90 days from Date().
I don't know if Date() or Now() is best for this and have used the
below formula but again it's not right.
=DCount("*","[Table1].[date fsmp sent]='date()-90'")
What am I doing wrong here with both of these formula
A quick repsonse would be grestly appreciated.
recorded with the Yes/No tick box on the main form of my database
So far, I have tried
=DCount("*","[Table1]","[sleep risk]='true'")
=DCount("*","[Table1]","[sleep risk]='yes'")
and a few others that don't work either.
Secondly, I also have to count a number of dates entered in a column
[date fsmp sent] to give me the total number of date entries in that
column that were witihn the last 90 days from Date().
I don't know if Date() or Now() is best for this and have used the
below formula but again it's not right.
=DCount("*","[Table1].[date fsmp sent]='date()-90'")
What am I doing wrong here with both of these formula
A quick repsonse would be grestly appreciated.