Others

Design a Microsoft Access Donor Database with Multiple Items per Accession

Aamir Naveed AkramAamir Naveed Akram Nov 22, 2026 871 views

Question details

The user needs an Access database in which a donor can have accessions, each containing multiple items with the same accession ID.

Design an Access Donor Database with Multiple Items per Accession
Product
Microsoft Access
Device & OS
not provided
Scenario
A donor makes a donation or accession, and the user enters several related items under that accession.
Observed behavior
The accession number does not carry from the first item to subsequent items, but it should remain the same until a new accession is created.
Before you start

Decide whether each item record represents a unique physical object or a reusable item type. The structure below assumes each record is a distinct item belonging to one accession.

Solution 1Recommended

Link donor, accession, and item forms in Access

Use this structure when each accession belongs to one donor and contains multiple distinct items.

Treat an accession like an order header and its items like order details. Create the accession ID once in the Accessions table; store that ID as a foreign key on each related item.

Use a junction table only if the same item record must be related to multiple accessions, as may be appropriate when items represent reusable types rather than unique objects.

1
Create the tables

In Access, use Create > Table Design to create Donors with DonorID, Accessions with AccessionID and DonorID, and Items with ItemID and AccessionID. Set each table's own ID as its primary key and add the descriptive fields you need.

2
Match the key data types

In Table Design, set the DonorID and AccessionID foreign keys to Number with Field Size set to Long Integer if their matching primary keys use AutoNumber. Keep ItemID separate from AccessionID so each item has its own primary key.

3
Create relationships

Open Database Tools > Relationships, add the three tables, and drag Donors.DonorID to Accessions.DonorID and Accessions.AccessionID to Items.AccessionID. Select Enforce Referential Integrity for each relationship and save the layout.

4
Build the forms

Use Create > Form or Form Wizard to create a donor form, an accession form, and an item form. Set the accession form's Default View to Single Form and the item form's Default View to Continuous Forms in their Property Sheets.

5
Link the subforms

In the donor form's Design View, add the accession form as a subform. Select its subform control and use Property Sheet > Data to set Link Master Fields and Link Child Fields to DonorID. Add the item form as a subform inside the accession form, and set both link fields on that subform control to AccessionID.

6
Enter and test records

Open the donor form in Form View, select or create a donor, and create an accession in the accession subform. Move to the item subform and enter several items; then create another accession and verify its items receive the new accession ID.

Link donor, accession, and item forms in Access
Keep the accession form in Single Form view: The accession form contains another subform, so use Single Form view for it. The item subform can display multiple item records in Continuous Forms view.
Free Microsoft Office alternative

Organize donor and accession lists with WPS Office

WPS Office is a free, lightweight alternative for working with office documents and spreadsheets in a familiar interface. Open compatible Microsoft Office files to move existing lists into WPS, but use Microsoft Access to build and run the relational database and nested forms described above.

Organize donor, accession, and item lists in WPS SpreadsheetsOpen and edit compatible Microsoft Excel XLS and XLSX filesWork in a familiar, easy-to-use office interfaceUse a free, lightweight suite for everyday document and spreadsheet tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does each item need its own ID if all items share an accession ID?

ItemID uniquely identifies each item record, while AccessionID connects all items in the same donation to their shared accession record.

How does Access fill in the same accession ID for each item?

In the item subform control's Property Sheet > Data, set Link Master Fields and Link Child Fields to AccessionID. When you add items through that subform, Access links them to the current accession.

How do I start a new accession for the same donor?

Keep the donor selected in the main form and use the accession subform's new-record navigation button to create another accession. Add its items in the linked item subform.

When do I need a junction table for items and accessions?

Use a junction table when a genuine many-to-many relationship exists, such as when one reusable item type can appear in several accessions and each accession can contain several item types. For unique objects belonging to one accession each, an AccessionID foreign key in Items is sufficient.