I\'m using Access and attempting to duplicate some syntax I found on MSDN. Unfortunately it seems Access is having a problem with a FROM statement in my Syntax. I\'m not sur
The syntax to pivot in MS Access is different from sql server. You have to use the TRANSFORM function to pivot data.
The syntax will be similar to this:
TRANSFORM SUM([Retention & Graduation].Hc)
SELECT [Retention & Graduation].Year,
[Retention & Graduation].Status,
[Retention & Graduation].Hc
FROM [Retention & Graduation]
GROUP BY [Retention & Graduation].Year
PIVOT [Retention & Graduation].[STATUS]