G
Guest
MS Access 2K, Windows XP
====================
Hi,
I have a table with fields for different answers for a question. Eg. The
question is "What age groups does your program serve?". The possible answers
in check-box format are: 1. Preschool, 2. Child, 3. Teen, 4. Adult, 5.
Senior. Since more than one answer can be checked, I created Yes/No fields
corresponding to each answer.
Is there a way to create a query that lists the possible answers to the
question, and the number of records that checked the box for that answer? I
tried creating Cross-Tab query using Wizard, but was unable to accomplish
that. If I select 3 row headings at the first step (corresponding to 3 out
of 5 answers, since that is the limit), and then if I select RecID (which is
the PK in the table), I still have to select one more field to do either
count, average or sum on one of the remaining fields. Can I skip the second
step?
What I'd like is a query that has 2 columns, one for the answers (1. - 5.),
and the other for the number of records that checked "Yes" for that answer.
(Or, 2 rows and 5 columns.) Is this possible to accomplish using one query?
Any help will be appreciated.
-Amit
====================
Hi,
I have a table with fields for different answers for a question. Eg. The
question is "What age groups does your program serve?". The possible answers
in check-box format are: 1. Preschool, 2. Child, 3. Teen, 4. Adult, 5.
Senior. Since more than one answer can be checked, I created Yes/No fields
corresponding to each answer.
Is there a way to create a query that lists the possible answers to the
question, and the number of records that checked the box for that answer? I
tried creating Cross-Tab query using Wizard, but was unable to accomplish
that. If I select 3 row headings at the first step (corresponding to 3 out
of 5 answers, since that is the limit), and then if I select RecID (which is
the PK in the table), I still have to select one more field to do either
count, average or sum on one of the remaining fields. Can I skip the second
step?
What I'd like is a query that has 2 columns, one for the answers (1. - 5.),
and the other for the number of records that checked "Yes" for that answer.
(Or, 2 rows and 5 columns.) Is this possible to accomplish using one query?
Any help will be appreciated.
-Amit