PIVOT statement syntax?

D

David

Can someone post the complete syntax for the PIVOT
statement.

I can't find it in HELP anywhere.
 
M

Michel Walsh

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top