ACC: Dynamic Query to Return Records for the Previous Month (176645)
The information in this article applies to:
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q176645 Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article demonstrates how to create a query that returns all the
records in which the value of a Date field falls within the previous month.
REFERENCES
For more information about the Between...And operator, search the Help
Index for "Between...And operator."
For more information about the DateSerial() function, search the Help Index
for "DateSerial."
For more information about other expressions to manipulate dates, see the
following article in the Microsoft Knowledge Base:
88657 ACC: Functions for Calculating and Displaying Date/Time
Values
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbhowto KB176645 |
---|
|