I can't remember if I've asked this before, and my mind is getting old.
I've got a query, in which I need to track reports. What I want to do, is populate a field where the date of the last report is projected out a year. Easy enough, right?
I've got that set up, and it works the way it's intended, but the problem I'm running into is that the query is returning results on reports that are in work, but not their current data. The query will display the results of the last report completed, because there's nothing showing that the report for the current year is being worked on, even though I have the query set to only show those that haven't been received.
The two fields I'm calculating the results from are "RptStatus" and "NextReport"
RptStatus is
NextReport is using the criteria of
The reason RptStatus is null, is because I'm looking for reports I haven't received yet, that are coming up as being due.
NextReport relies on the date the report was last performed on +365.
Any thoughts? I'm on Access 2010.
I've got a query, in which I need to track reports. What I want to do, is populate a field where the date of the last report is projected out a year. Easy enough, right?
I've got that set up, and it works the way it's intended, but the problem I'm running into is that the query is returning results on reports that are in work, but not their current data. The query will display the results of the last report completed, because there's nothing showing that the report for the current year is being worked on, even though I have the query set to only show those that haven't been received.
The two fields I'm calculating the results from are "RptStatus" and "NextReport"
RptStatus is
Code:
Is Null
NextReport is using the criteria of
Code:
Between Date() And DateAdd("m",-1,Date())
The reason RptStatus is null, is because I'm looking for reports I haven't received yet, that are coming up as being due.
NextReport relies on the date the report was last performed on +365.
Any thoughts? I'm on Access 2010.
Last edited: