Others

Design a Microsoft Access Form for Partial and Combined Shipments

Nimra MalikNimra Malik Nov 20, 2026 869 views

Question details

Create an Access form that records partial shipments and shipments containing lines from multiple orders.

Design a Microsoft Access Form for Partial and Combined Shipments
Product
Microsoft Access
Device & OS
not provided
Scenario
A shipment can include items from multiple orders, and an order can be fulfilled across multiple shipments.
Observed behavior
The desired form should record each shipment header and its shipped order lines while preserving the relationship between orders and shipments.
Before you start

Identify the existing customer, order, and order-line keys, and decide whether each shipment belongs to a single customer. The design below assumes one customer per shipment.

Solution 1Recommended

Build a Shipment Form with a Linked Details Subform

Use normalized tables and a linked subform to record partial quantities and combine eligible order lines in one shipment.

Each shipment detail links one shipment to one order line. This allows an order line to appear in multiple shipments and a shipment to include lines from multiple orders.

Keep customer information on the shipment header and filter selectable order lines to that customer. Avoid storing the order ID again in ShipmentDetails when it can be determined through OrderLines.

1
Create the order tables

In Access, use Create > Table Design to define Orders with OrderID and CustomerID, and OrderLines with OrderLineID, OrderID, ProductID, and OrderedQuantity. Set OrderID and OrderLineID as their respective primary keys.

2
Create the shipment tables

Create a Shipments table with ShipmentID, CustomerID, and ShipmentDate. Create ShipmentDetails with ShipmentDetailID, ShipmentID, OrderLineID, and ShippedQuantity; use the ID fields as the primary keys for their respective tables.

3
Link the tables

Open Database Tools > Relationships. Link Orders.OrderID to OrderLines.OrderID, Shipments.ShipmentID to ShipmentDetails.ShipmentID, and OrderLines.OrderLineID to ShipmentDetails.OrderLineID. Use compatible field types and enable referential integrity for each relationship.

4
Create the shipment form

Use Create > Form Wizard to build a form bound to Shipments. Include controls for CustomerID and ShipmentDate so the user can identify the shipment before adding its lines.

5
Add a linked details subform

In the main form's Design View, add a subform bound to ShipmentDetails. Set the subform control's Link Master Fields and Link Child Fields properties to ShipmentID, and add controls for OrderLineID and ShippedQuantity.

6
Filter and validate shipment lines

Set the OrderLineID combo box's Row Source to a query joining Orders and OrderLines, filtered by the customer selected on the main form. Display the order and product information while binding the combo box to OrderLineID. Requery it after the customer changes, and validate that each quantity is positive and does not exceed the remaining ordered quantity.

Build a Shipment Form with a Linked Details Subform
Check quantities across shipments: Calculate remaining quantity from OrderedQuantity minus quantities already recorded for the order line. When editing an existing detail, exclude its previous quantity from the comparison. In a multiuser database, use appropriate locking or transactions to prevent simultaneous entries from over-shipping.
Free Microsoft Office alternative

Use WPS Office for Shipment Spreadsheets and Documents

WPS Office is a free, lightweight alternative with a familiar interface for working with shipment spreadsheets and documents. Its Microsoft Office format compatibility makes it easy to move existing files into your workflow. WPS Office does not create or run Microsoft Access database forms.

Track shipment quantities in a spreadsheetOpen and edit Microsoft Excel XLSX filesWork with Microsoft Word DOCX and PowerPoint PPTX filesUse a familiar interface for an easier transition
microsoft office alternative - wps office

Frequently Asked Questions

How can one shipment include items from different orders?

Add a ShipmentDetails record for each shipped order line, using the same ShipmentID and the appropriate OrderLineID. The order is identified through the related OrderLines record.

How do I record an order line shipped in multiple deliveries?

Add a separate ShipmentDetails record for the order line in each shipment, with the quantity shipped in that delivery. Check the total against the ordered quantity before saving.

How do I show only order lines for the selected customer?

Set the order-line combo box's Row Source to a query joining Orders and OrderLines and filter it by the CustomerID control on the main form. Requery the combo box when the customer changes.

Can I change the customer after adding shipment details?

Avoid changing the customer while details exist unless the form checks that every selected order line belongs to the new customer. Otherwise, remove or correct the affected details first.

Can WPS Office run the Access shipment form?

No. Use Microsoft Access to create and run the database form. WPS Office can instead help you work with shipment data exported to an Excel-compatible spreadsheet.