How to Group Records by Date in an Access Continuous Form
Question details
The user needs to display records grouped by date headers inside a Microsoft Access continuous form, specifically when the form is embedded within a filtered main form.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Attempting to organize and view database records visually separated by date headers within a form interface.
- Observed behavior
- Microsoft Access continuous forms natively lack report-style grouping headers, making it difficult to separate records by date without losing updateability or resorting to complex workarounds.
Keep in mind that adding true group headers to an Access form typically renders the data read-only. Ensure you do not need users to edit the records directly in this specific view before proceeding.
Embed a Grouped Report in a Subform Control
Since Access reports natively support grouping and headers, embedding a read-only report inside your form is the most reliable and straightforward approach.
Microsoft Access forms are not designed to mimic the grouping behavior of reports. By creating an actual report and embedding it into your main form, you gain access to standard grouping and sorting features without complex SQL coding.
Go to the Create tab and select Report Design. Bind this report to the table or query containing your records.
Open the Group, Sort, and Total pane at the bottom. Click 'Add a group', select your Date field, and choose 'by Day', 'by Month', or your preferred date interval.
Place your date field in the newly created Group Header section and format it to stand out visually from the detail records.
Open your main form in Design View. Drag and drop the Subform/Subreport control onto the form, and set its Source Object to the report you just created.

Create a UNION Query for Datasheet View
If you strictly need to use a form or datasheet, you can write a UNION query that combines generated header rows with your detail rows.
Manage and Group Data Easily with WPS Office
While Microsoft Access is a powerful relational database, managing complex form UI and groupings can be highly frustrating. If you frequently need to group, filter, and analyze tabular records by date, WPS Spreadsheet offers intuitive PivotTables and grouping features that are completely free, visually appealing, and require no SQL knowledge.
- 1. Open your data: Launch WPS Spreadsheet and import or open your tabular data.
- 2. Insert a PivotTable: Select your data range, navigate to the Insert tab, and click PivotTable.
- 3. Group by Date: Drag your Date field to the Rows area, right-click any date in the table, and select 'Group' to organize by days, months, or years effortlessly.

Frequently Asked Questions
Why can't I edit records in an Access continuous form that uses a UNION query?
UNION queries inherently combine multiple unrelated data sets into a single logical view. Because Access cannot determine which base table a specific updated field belongs to, it restricts the entire resulting recordset to read-only.
Can I use Conditional Formatting to fake group headers in Access?
Yes. You can sort your continuous form by date and use conditional formatting to make text white (invisible) if the date matches the record directly above it. This gives the illusion of grouped data without making the form read-only, though it doesn't create a true standalone header row.
Is there a way to keep my Access form updateable while grouping by date?
Natively, no. If you require an updateable form, you should rely on standard continuous forms sorted by date without custom header rows. Complex workarounds involve using temporary tables and extensive VBA scripting to manage grouped edits, which is generally not recommended for stability.




