That won't work, as it returns the number of cols in the query DESIGN. For Crosstab query, the number of columns in the design does not often equal the number of columns in the resultset.
MichaelRed
m.red@att.net
There is never time to do it right but there is always time to do it over