Others

Populate an Access Junction Table with Multiple Inventory Items

Jason MillerJason Miller Nov 25, 2026 868 views

Question details

Add more than 100 selected inventory items as separate records in a junction table for a transmittal.

Populate an Access Junction Table with Multiple Inventory Items
Product
Microsoft Access
Device & OS
not provided
Scenario
An inventory and transmittal database uses a junction table to manage a many-to-many relationship.
Observed behavior
The user wants an efficient way to select multiple inventory items and create one junction-table record for each relationship.
Before you start

Confirm that the junction table contains fields for the transmittal ID and inventory item ID, and that its relationships point to the corresponding parent tables. Check whether duplicate transmittal and inventory item pairs should be prevented with a unique index.

Solution 1Recommended

Add Related Inventory Items with a Form and Subform

Use a bound subform to add or remove junction-table records without VBA.

1
Create the main form

In Access, use Create > Form Wizard or Form Design to create a form based on the transmittal table.

2
Add a junction-table subform

Open the main form in Design View and add a subform based on the junction table. Set the subform control's Link Master Fields and Link Child Fields properties to the matching transmittal ID fields.

3
Add an inventory selector

In the subform's Design View, add a combo box bound to the junction table's inventory item ID field. Set its Row Source to the inventory table so users can identify and select items.

4
Enter the related items

Open the main form in Form View, navigate to a transmittal, and select an inventory item in each new subform row. Each saved row creates a separate junction-table record.

Add Related Inventory Items with a Form and Subform
One selection per row: This no-code method does not select more than 100 items at once. For batch selection, use a multi-select list box with VBA.
Free Microsoft Office alternative

Manage Inventory Lists with WPS Spreadsheets

WPS Office is a free, lightweight alternative with a familiar interface for working with inventory lists and other office files. Its Excel format compatibility makes it easy to move spreadsheet data, although it does not replace an Access database or populate its junction tables.

Organize inventory and transmittal lists in spreadsheetsOpen and edit Microsoft Excel XLSX filesUse a familiar spreadsheet interfaceWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Can a multi-select list box populate an Access junction table without code?

No. An unbound multi-select list box requires VBA to read its ItemsSelected collection and insert or delete junction-table records. A bound subform is a no-code alternative for entering one item per row.

How does the subform know which transmittal a row belongs to?

Set the subform control's Link Master Fields and Link Child Fields properties to the matching transmittal ID fields. Access then links new subform rows to the current main-form record.

How can I prevent the same inventory item from being added twice to one transmittal?

Create a unique composite index on the junction table's transmittal ID and inventory item ID fields. If you use VBA, also check for an existing pair before inserting it.

Can I remove an item from a transmittal using the subform?

Yes. In Form View, select and delete the relevant junction-table row. This removes the relationship; it should not delete the inventory item itself.