A family of Microsoft relational database management systems designed for ease of use.
Access does not have a built‑in “inspection database” template that matches this layout exactly, but it can handle this scenario well if the data is normalized and the form is designed on top of that structure.
A simple starting design that supports any number of features and measurements per part/report:
- Reports (header information)
Stores one row per inspection report.- ReportID (AutoNumber, primary key – internal only)
- ReportNumber (Text – the manual report number entered)
- PartNumber (Text)
- DateInspected (Date/Time)
- Other header fields as needed (customer, inspector, etc.)
- Features (what is being measured)
Stores one row per feature on a report (width, length, height, etc.).- FeatureID (AutoNumber, primary key)
- ReportID (Number, Long Integer – foreign key to Reports.ReportID)
- ItemNumber (Long – corresponds to column B “Item”)
- NominalDescription (Text – what is now in merged C–I)
- InspectionMethod (Text – column J)
- UnitOfMeasure (Text – column K)
- Nominal (Number – column L or K depending on how defined)
- MinusTol (Number – column M)
- PlusTol (Number – column N)
- LSL (Number – column O, can be calculated)
- USL (Number – column P, can be calculated)
- TotalTol (Number – column Q, can be calculated)
- LSL = Nominal − MinusTol
- USL = Nominal + PlusTol
- TotalTol = PlusTol + MinusTol
- Measurements (as‑found values)
Stores one row per actual measurement.- MeasurementID (AutoNumber, primary key)
- FeatureID (Number, Long Integer – foreign key to Features.FeatureID)
- SampleNumber (Integer – 1,2,3,4,5, …)
- MeasuredValue (Number)
- Forms a. Report form (single‑form)
- Record source: Reports table.
- Shows header fields (ReportNumber, PartNumber, Date, etc.).
- Record source: Features table.
- Linked to Report form by ReportID.
- Layout columns to match the Excel header: ItemNumber, NominalDescription, InspectionMethod, UnitOfMeasure, Nominal, MinusTol, PlusTol, LSL, USL, TotalTol.
- Use calculated controls for LSL/USL/TotalTol if preferred instead of storing them.
- Record source: Measurements table.
- Linked to Features subform by FeatureID.
- Shows SampleNumber and MeasuredValue.
- A crosstab query or a form with 5 bound controls (Sample1–Sample5) that read/write to the Measurements table via VBA.
Or keep it simple and show measurements vertically (one row per sample) in a datasheet subform.
- Conditional formatting (in‑tolerance highlighting) On the Measurements subform, add conditional formatting to the MeasuredValue control:
- Condition 1:
Field Value IsLess Than[LSL]→ set background color (e.g., red). - Condition 2:
Field Value IsGreater Than[USL]→ same color. - Otherwise leave normal.
- Condition 1:
- Getting started quickly in Access
- Create a Blank desktop database.
- Create the three tables above and define relationships: Reports 1‑to‑many Features, Features 1‑to‑many Measurements.
- Use the Form Wizard to build the main Report form with a Features subform; then add the Measurements subform.
- Use queries to calculate LSL/USL/TotalTol if not stored.
References: