How to Display and Sort Full Month Names Chronologically in Access
Question details
The user needs to display full month names in Microsoft Access while ensuring the records sort in chronological calendar order instead of alphabetically.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Creating reports or queries where month names are displayed but need to be sorted by the actual calendar sequence.
- Observed behavior
- When month names are stored as text, they sort alphabetically (e.g., April, August, December). The goal is to display the text but sort chronologically (e.g., January, February, March).
Ensure your table stores the month values using a Date/Time data type rather than a Short Text data type.
Use Date Fields and the Format Function
Store your data as actual dates and use the Format function to display the month name, allowing you to sort by the underlying date.
By storing values as dates rather than text strings, Access retains the chronological value of the data. You can then manipulate how the date is displayed to the user without losing the ability to sort it correctly.
Open your table in Design View and ensure the field containing your date information is set to the 'Date/Time' data type.
In your query or report design grid, create a new column to display the month name using the expression: MonthNameDisplay: Format([YourDateField], "mmmm").
In the query design grid, add the original [YourDateField] (or use the expression Month([YourDateField])), set its Sort row to 'Ascending', and uncheck the 'Show' box so it does not duplicate the display.

Looking for a lightweight alternative to Microsoft Office?
While Microsoft Access handles complex databases, many data tracking, sorting, and reporting tasks can be easily managed with spreadsheets. WPS Office offers a free, highly compatible, and user-friendly suite for your daily data management needs.
- 1. Download WPS Office: Visit the official WPS website to download and install the free office suite on your device.
- 2. Import your data: Open WPS Spreadsheet and easily import your Access data exports or CSV files.
- 3. Apply custom date formatting: Right-click your date column, select 'Format Cells', and use the custom format 'mmmm' to display full month names while preserving chronological sorting.

Frequently Asked Questions
Why do my months sort alphabetically in Access?
If your month names are stored in a 'Short Text' field (e.g., typing 'January', 'February'), Access treats them as standard text and sorts them alphabetically (April, August, December). To fix this, store them as Date/Time values.
Can I extract just the month number for sorting?
Yes, you can use the Month([YourDateField]) function in a query. This will return a number from 1 to 12 based on the date, which you can use to sort your records chronologically without displaying the number.
How do I display abbreviated month names instead of full names?
To display a three-letter month abbreviation (like Jan, Feb, Mar), change the format string in your expression to use three 'm's: Format([YourDateField], "mmm").




