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
the pivot statement determines the column grouping so I would think if you build a query based on the grouping you could get a count
something like this
select count (*) as cnt from
[SELECT distinct format(sickdate,"mmm"
FROM tbl where sickdate >10/3/2001]. as a
for this crosstab query
TRANSFORM Count(tbl.recid) AS [The Value]
SELECT tbl.name
FROM tbl
WHERE (((tbl.sickdate)>#10/3/01#))
GROUP BY tbl.name
PIVOT Format(sickdate,"mmm"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.