I have a field called [Force Test] which is set up as a Date/Time. It represents the date where a test was taken. This test needs to be taken annually, so I'd like the date to appear in red if the taking of the test is past due, as well as having the date appear in green when there are 3 months or less before the date turns red.
The logic of the formula I want to write is:
If today's date is greater than 365 days after the date written in [Force Test], the font should be red, and if today's date is greater than 274 days after the date written in [Force Test], the font should be green.
I've tooled around using DateAdd: Value > DateAdd("d",365,[Force Test]) in order to make the font turn red, but that doesn't work.
I'm currently checking various sites to try to build an IF formula, but I don't know how I'd work in a DateAdd formula inside an IF. This goes far beyond what I've learned at school, which was really just the basics of Access.
Any help would be appreciated!
The logic of the formula I want to write is:
If today's date is greater than 365 days after the date written in [Force Test], the font should be red, and if today's date is greater than 274 days after the date written in [Force Test], the font should be green.
I've tooled around using DateAdd: Value > DateAdd("d",365,[Force Test]) in order to make the font turn red, but that doesn't work.
I'm currently checking various sites to try to build an IF formula, but I don't know how I'd work in a DateAdd formula inside an IF. This goes far beyond what I've learned at school, which was really just the basics of Access.
Any help would be appreciated!