Others

Design a Microsoft Access Database for Project Comments

Amos GikundaAmos Gikunda Nov 27, 2026 868 views

Question details

The user needs a scalable Access database design for storing multiple dated comments for each project.

Design a Microsoft Access Database for Project Comments
Product
Microsoft Access
Device & OS
not provided
Scenario
A project database needs to record and display any number of comments for each project without creating separate comment fields or tables per project.
Observed behavior
Each project should have a related list of dated comments that can be viewed and added from the project record.
Before you start

Check that the Projects table has a unique ProjectID primary key. If ProjectID is an AutoNumber field, use a Number field with the Long Integer field size for the matching foreign key in Comments.

Solution 1Recommended

Create a related Comments table and linked subform

Use a one-to-many relationship to store multiple dated comments for each project and show them on the project form.

Each comment is a separate row linked to one project. This avoids adding new fields or tables as comments accumulate, although normal Access database size limits still apply.

1
Create the Comments table

In Access, select Create > Table Design. Add CommentID as an AutoNumber primary key, ProjectID as a matching Number field, CommentDate as Date/Time, and Comment as Long Text. Save the table as Comments.

2
Link comments to projects

Open Database Tools > Relationships and add the Projects and Comments tables. Drag Projects.ProjectID to Comments.ProjectID, select Enforce Referential Integrity, and click Create.

3
Create the project form

Select the Projects table in the Navigation Pane, then choose Create > Form to create a form for viewing project records. Save the form.

4
Add a comments subform

Open the project form in Design View and add a Subform/Subreport control. Use the wizard to select the Comments table, include its comment fields, and link the subform to the project form by ProjectID. Verify that the subform control's Link Master Fields and Link Child Fields properties are both set to ProjectID.

5
Sort the comments

Create a query for Comments using Create > Query Design and set CommentDate to sort ascending. Use that query as the subform's Record Source so comments for the current project appear in date order.

Create a related Comments table and linked subform
Adding comments: With the subform linked by ProjectID, add a new row in the subform while viewing a project. Access associates the new comment with the current project.
Free Microsoft Office alternative

Track simple project comments in WPS Spreadsheets

WPS Office is a free, lightweight alternative with a familiar interface for working with Office files. Use a spreadsheet for a simple project comment log and move compatible documents between Office suites. WPS does not replace Access relationships or fix an Access database.

Record project names, dates, and comments in a sortable spreadsheetOpen and edit Microsoft Excel XLSX spreadsheetsWork with a familiar Office-style interfaceMove compatible spreadsheet files between WPS Office and Microsoft Office
microsoft office alternative - wps office

Frequently Asked Questions

Why should comments be stored in a separate table?

A Comments table stores each comment as a row with a ProjectID foreign key. This lets one project have multiple comments without adding a new field for each one.

How does the subform show comments for only the current project?

In the project form's Design View, select the subform control and set Link Master Fields and Link Child Fields to ProjectID. Access then filters the subform to the current project.

What data type should Comments.ProjectID use?

It must match the key it references. If Projects.ProjectID is AutoNumber, set Comments.ProjectID to Number with the Long Integer field size in Table Design.

Can I display project names while storing project IDs?

Yes. On a comments form, use a combo box bound to Comments.ProjectID and configure its lookup to display a project name while storing the corresponding ProjectID.