Am I correct in assuming these records are for the same "part". Is there a
reason why all of the USL records are the same and all the LSL records are
the same?
Two options (the first normalizes, the second doesn't)
The first thing I would do is to normalize your measurement records with a
union queries:
===quniMeasurements=======
SELECT Date, Series, "A" as Measurement, [Measurement A] as MeasureVal
FROM tblMeasurements
UNION ALL
SELECT Date, Series, "B", [Measurement B]
FROM tblMeasurements
UNION ALL
SELECT Date, Series, "C", [Measurement C]
FROM tblMeasurements
UNION ALL
SELECT Date, Series, "D", [Measurement D]
FROM tblMeasurements;
===quniLimits==============
SELECT "A" AS Measurement, tblLSL.[Measurement A] AS NewLSL,
tblUSL.[Measurement A] AS NewUSL
FROM tblUSL, tblLSL
UNION
SELECT "B", tblLSL.[Measurement B], tblUSL.[Measurement B]
FROM tblUSL, tblLSL
UNION
SELECT "C", tblLSL.[Measurement C], tblUSL.[Measurement C]
FROM tblUSL, tblLSL
UNION
SELECT "D", tblLSL.[Measurement D], tblUSL.[Measurement D]
FROM tblUSL, tblLSL;
Then create your query that you should be able to graph:
===qselForGraph===========
SELECT quniMeasurements.Measurement,
quniMeasurements.Date, quniMeasurements.Series,
quniMeasurements.MeasureVal, quniLimits.NewLSL,
quniLimits.NewUSL
FROM quniLimits INNER JOIN quniMeasurements
ON quniLimits.Measurement = quniMeasurements.Measurement
ORDER BY quniMeasurements.Measurement,
quniMeasurements.Date, quniMeasurements.Series;
SECOND OPTION
Create a query with this SQL view
===qgrpToGraph==========
SELECT tblMeasurements.Date, tblMeasurements.Series,
tblMeasurements.[Measurement A], tblMeasurements.[Measurement B],
tblMeasurements.[Measurement C], tblMeasurements.[Measurement D],
tblLSL.[Measurement A] AS ALSL, tblLSL.[Measurement B] AS BLSL,
tblLSL.[Measurement C] AS CLSL, tblLSL.[Measurement D] AS DLSL,
tblUSL.[Measurement A] AS AUSL, tblUSL.[Measurement B] AS BUSL,
tblUSL.[Measurement C] AS CUSL, tblUSL.[Measurement D] AS DUSL
FROM tblMeasurements, tblUSL, tblLSL
GROUP BY tblMeasurements.Date, tblMeasurements.Series,
tblMeasurements.[Measurement A], tblMeasurements.[Measurement B],
tblMeasurements.[Measurement C], tblMeasurements.[Measurement D],
tblLSL.[Measurement A], tblLSL.[Measurement B], tblLSL.[Measurement C],
tblLSL.[Measurement D], tblUSL.[Measurement A], tblUSL.[Measurement B],
tblUSL.[Measurement C], tblUSL.[Measurement D];