Remove the Parameter line. Your query is saying there is a field named Expr
and a parameter named Expr.
Also, you must apply one of the aggregate functions to the field in the
TRANSFORM clause. You can use FIRST, LAST, MAX, or Min on a text string.
I would try the following.
TRANSFORM First(qryCOC.Expr) as FirstExpr
SELECT qryCOC.Course, qryCOC.Class, qryCOC.Group
FROM qryCOC
GROUP BY qryCOC.Course, qryCOC.Class, qryCOC.Group
PIVOT qryCOC.Start;
John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
On 5/12/2011 7:34 AM, Galka wrote:
Quote:
PARAMETERS Expr Text ( 255 );
TRANSFORM qryCOC.Expr
SELECT qryCOC.Course, qryCOC.Class, qryCOC.Group
FROM qryCOC
GROUP BY qryCOC.Course, qryCOC.Class, qryCOC.Group
PIVOT qryCOC.Start;
|