Veteran
Beiträge: 288
![100](http://www.donkarl.com/forum/images/decorations/multiple/100.gif) ![100](http://www.donkarl.com/forum/images/decorations/multiple/100.gif) ![25](http://www.donkarl.com/forum/images/decorations/multiple/25.gif) ![25](http://www.donkarl.com/forum/images/decorations/multiple/25.gif) ![25](http://www.donkarl.com/forum/images/decorations/multiple/25.gif) Ort: München | Hallo H.P.,
Ich habe eine Abfrage erstellt, die das gewünschte Ergebnis liefert, jedoch leider für alle in der Datenbank vorhandenen Testreihen und nicht nur für eine bestimmte:
TRANSFORM Sum(qryOrteMesswerte.Messwert) AS SummevonMesswert
SELECT qryOrteMesswerte.idxEigenschaft, qryOrteMesswerte.Testreihe
FROM qryOrteMesswerte
GROUP BY qryOrteMesswerte.idxEigenschaft, qryOrteMesswerte.Testreihe
PIVOT qryOrteMesswerte.Ort;
Da fehlt der WHERE-Teil
...
FROM qryOrteMesswerte
WHERE qryOrteMesswerte.Testreihe = 1
...
----- Grüße aus München
Stefan |