Others

How to Add CreatedDate and ModifiedDate Fields in Microsoft Access

Maira MehtabMaira Mehtab Oct 26, 2026 868 views

Question details

The user wants to know if Microsoft Access automatically includes default fields for tracking creation and modification dates, and how to implement them.

How to Add CreatedDate and ModifiedDate Fields in Microsoft Access
Product
Microsoft Access
Device & OS
not provided
Scenario
Tracking record changes and maintaining history for database table updates.
Observed behavior
Access tables do not automatically include CreatedDate or ModifiedDate columns by default, requiring a manual setup.
Before you start

Ensure you have Design View permissions for your Microsoft Access database tables and basic familiarity with Access data macros.

Solution 1Recommended

Add Fields Manually and Configure Data Macros

Create custom date fields and set up AfterInsert and AfterUpdate macros to automatically log when records are created or changed.

Since Microsoft Access does not provide built-in fields for tracking record creation or modification, you must manually add these columns to your table. Once added, Access Data Macros act as triggers that automatically stamp the current date and time whenever a user adds or edits a record.

1
Add Date/Time Fields

Open your Access table in Design View. Add two new fields named 'CreatedDate' and 'ModifiedDate', and set their Data Type to 'Date/Time'.

2
Set Default Value for Creation

Select the 'CreatedDate' field. In the Field Properties pane at the bottom, enter '=Now()' in the Default Value box to automatically stamp the current time when a new record is created.

3
Open Table Events

Save the table and switch to Datasheet View. Navigate to the 'Table' tab on the Access Ribbon, and click on 'Before Change' in the Named Macros or Events group.

4
Configure the AfterUpdate Macro

In the macro designer, add an 'If' block to check if the record is being updated. Use the 'SetField' action to update the 'ModifiedDate' field to '=Now()'. Save and close the macro.

Add Fields Manually and Configure Data Macros
Metadata Tracking Limitations: Access does not provide a built-in history of table metadata changes (like adding or removing columns). To safeguard against structural changes, maintain regular database backups or use a custom tracking process.
Free Microsoft Office alternative

Looking for a Free Alternative to Microsoft Office?

While Microsoft Access is used for complex databases, WPS Office offers a free, lightweight, and highly compatible suite for all your document, spreadsheet, and presentation needs. Manage your data effortlessly with WPS Spreadsheet without the high subscription costs.

  1. 1. Download the Installer: Visit the official WPS website and download the free WPS Office installation package.
  2. 2. Install WPS Office: Run the installer, follow the on-screen prompts, and select your preferred language settings.
  3. 3. Open Your Files: Launch WPS Office and instantly open your existing Excel, Word, or PowerPoint files with perfect formatting.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight design that runs smoothly on almost any desktop or mobile device.Includes powerful Spreadsheet tools for robust data management and analysis.Familiar, easy-to-use interface that requires zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Can I set a default value for the CreatedDate field without using macros?

Yes. In the table's Design View, you can select the CreatedDate field and set its 'Default Value' property to =Now(). This will automatically stamp the current date and time when a new record is created, bypassing the need for an AfterInsert macro.

Why isn't the ModifiedDate updating when I change a record?

A Default Value property only applies when a record is initially created. To update the ModifiedDate field upon subsequent changes, you must implement a Data Macro (such as Before Change or After Update) to explicitly overwrite the field's value with the current time.

Is there a way to track who modified the record in Access?

Yes. Alongside your date fields, you can add a 'ModifiedBy' Short Text field. You can then use Data Macros or VBA code to capture the current user's system login name or application username and save it to this field whenever a record is modified.