I have a database with survey results. For instance, 10 companies each had their customers fill out a survey with 10 questions on it. Each company turned in anywhere from 50 to 100 surveys. All of the data is stored in a table and then 2 reports are printed. One report shows the responses broken down by company and then the other report is all responses. The survey answers are stored as a value of 0 to 4.
I store the answers like this
ComanyIndex - Integer
QuestIndex – Integer
QuestValue - Integer
Here is the problem: Let’s say Company Number 1 had 50 surveys turned in. For question one, though, no one selected answer number 0 or answer number 4. When I print the report it does not reflect that no one selected those answers. The report prints like this
1. How was the customer service?
OK - 15 – 30%
Good - 25 – 50%
Very Good - 10 – 20%
What I would like it to look like is
Poor – 0 - 0 %
OK - 15 – 30%
Good - 25 – 50%
Very Good - 10 – 20%
Excellent – 0 – 0%
I want all questions to show 5 results even if no data was entered for some of the values. How would I do this?
Thanks
I store the answers like this
ComanyIndex - Integer
QuestIndex – Integer
QuestValue - Integer
Here is the problem: Let’s say Company Number 1 had 50 surveys turned in. For question one, though, no one selected answer number 0 or answer number 4. When I print the report it does not reflect that no one selected those answers. The report prints like this
1. How was the customer service?
OK - 15 – 30%
Good - 25 – 50%
Very Good - 10 – 20%
What I would like it to look like is
Poor – 0 - 0 %
OK - 15 – 30%
Good - 25 – 50%
Very Good - 10 – 20%
Excellent – 0 – 0%
I want all questions to show 5 results even if no data was entered for some of the values. How would I do this?
Thanks