I have a two-part question.
1) The database I'm building has a [Medical Test] field. This test needs to be taken every 5 years by people under the age of 40, and every 2 years by people above the age of 40. The people's ages are entered in a field called [DOB].
I'd like the conditional formatting to have the field background go red when the test is due. I've tried an IIF formula, and while it can determine whether a member is over or under 40 by writing IIF((Date()-[DOB])/365<40), it then needs to calculate 2 years or 5 years (depending on the age of the person in question) from the date entered in [Medical Test] in order to affect formatting. I don't know how to enter that second equation in IIF (or if it's even possible to do so).
I asked someone about programming this in VB, however I was told that it's "too hard" because I've never taken a course to learn that program. I don't mind teaching myself, but I don't know where to begin in order to learn this on my own.
2) How do I change a field's fill colour using the expression builder? I've run a few Google searches (using different wording), and I haven't been able to find the appropriate command.
Any help would be appreciated!
1) The database I'm building has a [Medical Test] field. This test needs to be taken every 5 years by people under the age of 40, and every 2 years by people above the age of 40. The people's ages are entered in a field called [DOB].
I'd like the conditional formatting to have the field background go red when the test is due. I've tried an IIF formula, and while it can determine whether a member is over or under 40 by writing IIF((Date()-[DOB])/365<40), it then needs to calculate 2 years or 5 years (depending on the age of the person in question) from the date entered in [Medical Test] in order to affect formatting. I don't know how to enter that second equation in IIF (or if it's even possible to do so).
I asked someone about programming this in VB, however I was told that it's "too hard" because I've never taken a course to learn that program. I don't mind teaching myself, but I don't know where to begin in order to learn this on my own.
2) How do I change a field's fill colour using the expression builder? I've run a few Google searches (using different wording), and I haven't been able to find the appropriate command.
Any help would be appreciated!