Fixed column headings - using the IN predicate

R

Rob

Hi,

A simple question, but I cannot find an answer to it. Can I use a subquery
to generate the list in the IN predicate in a crosstab query in MS Access
2003?

eg.
TRANSFORM Count(qryTasksBySection.taskID) AS CountOftaskID
SELECT qryTasksBySection.positionTitle
FROM qryTasksBySection
GROUP BY qryTasksBySection.positionTitle
PIVOT qryTasksBySection.statusTitle IN (SELECT tblStatus.statusTitle
FROM tblStatus);
 

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