Mark Simms
marksimms at verizon.net
Fri Aug 5 12:09:13 CDT 2011
Been there done that. You need a separate control table of all expected values. Then build the crosstab query dynamically. Be sure to have an order column in the control table so you can control the exact columnarization if need be.