I could use suggestions on how to write this query. A bit of background first. I work for a small rural county government and they are surveying residents about their satisfaction with their trash company. Once they fill out the survey, it needs to pop up with the overall survery results for that company. (35% agree, 30% agree strongly, etc for each question). I don't expect they will get a huge response, probably a couple of hundred, so I don't think it will take long for a query to tabulate the statistics.
The record (tblTrashPollResponses) looks like this:
Key (autonumber)
Company
Name
Address
Company
Q2 (this contains the results of Question #2. The value 0 = No response, 1 = Agrees Strongly, 2 = Agrees Somewhat, 3 = Disagree Somewhat, 4 = Disagree Strongly, 5 = Unknown)
Q3 (questions 3 - 8 are similiar to question 2)
Q4
Q5
Q6
Q7
Q8
I have the online form written and the database is being updated correctly. I had to assign a number value to the responses for each question because I used radio buttons for the responses.
What I need is a query that will return the following. I don't care if it is one big record or if I need to read a recordset.
For the requested company:
"Question 2", the total number of Agree Strongly responses and what % that represents, the total number of Agree Somewhat responses and what % that represents, etc.
I've been trying to write this in Access and I just can't figure it out. I presume I will need to use a crosstab of some sort. Can anybody help me? Please???
Thanks in advance
Norma
The record (tblTrashPollResponses) looks like this:
Key (autonumber)
Company
Name
Address
Company
Q2 (this contains the results of Question #2. The value 0 = No response, 1 = Agrees Strongly, 2 = Agrees Somewhat, 3 = Disagree Somewhat, 4 = Disagree Strongly, 5 = Unknown)
Q3 (questions 3 - 8 are similiar to question 2)
Q4
Q5
Q6
Q7
Q8
I have the online form written and the database is being updated correctly. I had to assign a number value to the responses for each question because I used radio buttons for the responses.
What I need is a query that will return the following. I don't care if it is one big record or if I need to read a recordset.
For the requested company:
"Question 2", the total number of Agree Strongly responses and what % that represents, the total number of Agree Somewhat responses and what % that represents, etc.
I've been trying to write this in Access and I just can't figure it out. I presume I will need to use a crosstab of some sort. Can anybody help me? Please???
Thanks in advance
Norma