I have 2 tables in a 1-many relationship:
Person - Application
Every time a person meets criteria, a new record is created in Application, and today’s date is added to field App_OutAwardDate
.
I want to add something like an unbound text box to the Person form that will display, on selecting the person’s record, the number of times App_OutAwardDate
has been populated in the last 28 days, effectively counting the number of applications in the last 4 weeks.
In this way the worker is warned before progressing that they may not be eligible for a further award at this time.
I’ve been using the following, but it just returns ‘0’:
=DCount("App_PerID","Application","App_OutAwardDate" Between Date() And Date()-28)
Person table
Per_ID = primary key
Application table
App_ID = Primary key
App_PerID = Foreign key (for Person)
App_OutAwardDate
I have near zero experience of calculated fields, so any help gratefully received.
Red