Counting Formula in Report Footer

G

Guest

The following is my Conditional Formatting for field [CurrentBMARDate] in the
Detail Section of my report; for any fields that are “empty†or “beyond 1
year of today’s dateâ€. No problem here. Now, in the Report Footer though, I
want to total “a Count†only those that have “empty†and “beyond 1 year of
today’s date†records. I was wondering what would the Control Source text be
like to have this occur! Thanks for any suggestion.

(IsNull([CurrentBMARDate])) Or ([CurrentBMARDate])<DateAdd("yyyy",-1Date())
 
M

Marshall Barton

Curtis said:
The following is my Conditional Formatting for field [CurrentBMARDate] in the
Detail Section of my report; for any fields that are “empty” or “beyond 1
year of today’s date”. No problem here. Now, in the Report Footer though, I
want to total “a Count” only those that have “empty” and “beyond 1 year of
today’s date” records. I was wondering what would the Control Source text be
like to have this occur! Thanks for any suggestion.

(IsNull([CurrentBMARDate])) Or ([CurrentBMARDate])<DateAdd("yyyy",-1Date())


=Sum(IIf(IsNull([CurrentBMARDate]) Or
[CurrentBMARDate]<DateAdd("yyyy",-1,Date()), 1, 0)
 
G

Guest

Yes, thanks very much for your expertise. It works! Thank!

Marshall Barton said:
Curtis said:
The following is my Conditional Formatting for field [CurrentBMARDate] in the
Detail Section of my report; for any fields that are “empty†or “beyond 1
year of today’s dateâ€. No problem here. Now, in the Report Footer though, I
want to total “a Count†only those that have “empty†and “beyond 1 year of
today’s date†records. I was wondering what would the Control Source text be
like to have this occur! Thanks for any suggestion.

(IsNull([CurrentBMARDate])) Or ([CurrentBMARDate])<DateAdd("yyyy",-1Date())


=Sum(IIf(IsNull([CurrentBMARDate]) Or
[CurrentBMARDate]<DateAdd("yyyy",-1,Date()), 1, 0)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top