G
Guest
I've created a crosstab query to summarize the results of a poll. The user
wants to know the total number of respondants. The method the poll software
uses to identify a unique respondant is "respondentID". I have 11,000 records
in the results table, but only 1000 (or so) respondents (so each respondent
has about 11 questions "attached" to their ID-value). I've created a summary
report that feeds off the crosstab query.
Here's the issue:
How do I add the "respondentID" field to the CTQ? When I add it aws a "group
by", I get 11,000 recs in the quesry results (not good). When I try to
"count", the column completely disappears. I can't use DISTINCT because I
have to use it in the SELECT statement, which wouldn't give me what I need
either (as you can probably guess).
So, I'm casting about here for an alternative way to count the DISTINCT
"respondentID"s and provide that total on the report.
Any ideas would be greatly appreciated!
Thanks
wants to know the total number of respondants. The method the poll software
uses to identify a unique respondant is "respondentID". I have 11,000 records
in the results table, but only 1000 (or so) respondents (so each respondent
has about 11 questions "attached" to their ID-value). I've created a summary
report that feeds off the crosstab query.
Here's the issue:
How do I add the "respondentID" field to the CTQ? When I add it aws a "group
by", I get 11,000 recs in the quesry results (not good). When I try to
"count", the column completely disappears. I can't use DISTINCT because I
have to use it in the SELECT statement, which wouldn't give me what I need
either (as you can probably guess).
So, I'm casting about here for an alternative way to count the DISTINCT
"respondentID"s and provide that total on the report.
Any ideas would be greatly appreciated!
Thanks