I've got a query where I need a date calculated based on a date entered.
For instance, I have a report (paper report, not Access report) that has a due date of say July 13th. What I want the query to do is based on whatever the due date is, automatically roll back to the first day of the previous month.
Can this be done with the DateSerial function, or is there a different method?
More information, if needed. The due date (which is based on the person) is stored in one table (tblPersonnel), while the report info is stored in another table (tblReports), they are joined by a PK and FK.
I'm using Access 2007.
For instance, I have a report (paper report, not Access report) that has a due date of say July 13th. What I want the query to do is based on whatever the due date is, automatically roll back to the first day of the previous month.
Can this be done with the DateSerial function, or is there a different method?
More information, if needed. The due date (which is based on the person) is stored in one table (tblPersonnel), while the report info is stored in another table (tblReports), they are joined by a PK and FK.
I'm using Access 2007.