PIVOT statement syntax?

  • Thread starter Thread starter David
  • Start date Start date
D

David

Can someone post the complete syntax for the PIVOT
statement.

I can't find it in HELP anywhere.
 
Hi,


It is just that

PIVOT expression

and you can optionally supply a list of values you wish to consider for the
expression, in a IN list:

PIVOT expression IN( list )

The expression can be a field, a combination of fields, or even a VBA
expression. Each value ( only those in the list, if a list is supplied) of
the expression will create a field in the output, with that value for name
of the field.


Hoping it may help,
Vanderghast, Access MVP
 
Back
Top