S
Steve Goodrich
How do I display averages on a form.
I have a database that I am setting up for a customer survey with 600
records (Access 97)
1 table, Field Names are - Name, Dept, Question 1 Question 2 etc a few
queries (Question 1 Question 2etc)and 1 form.
There will be questions for the user to answer using 5 option groups that
will be set up as follows, Excellent, Good, Average, Poor and Very Poor.
Excellent will be set to 5 Good 4 Average 3 Poor 2 and Very Poor 1.
A query is set up to display all the users that have completed the survey,
fields - name, question 1
What I would like to do is display the average mark for each question on the
form
I enter the following in a text box =avg([question1])
The average is displayed for the Table using all 600 records.( from the
field name "question 1" on my main table I assume)
I want to display the average for the query, which will only use the records
of the users that have completed the survey. What syntax do I type to point
to the question 1 field on my query and not on my table?
Hope this makes sense.
Any help would be appreciated.
Many thanks
Steve
I have a database that I am setting up for a customer survey with 600
records (Access 97)
1 table, Field Names are - Name, Dept, Question 1 Question 2 etc a few
queries (Question 1 Question 2etc)and 1 form.
There will be questions for the user to answer using 5 option groups that
will be set up as follows, Excellent, Good, Average, Poor and Very Poor.
Excellent will be set to 5 Good 4 Average 3 Poor 2 and Very Poor 1.
A query is set up to display all the users that have completed the survey,
fields - name, question 1
What I would like to do is display the average mark for each question on the
form
I enter the following in a text box =avg([question1])
The average is displayed for the Table using all 600 records.( from the
field name "question 1" on my main table I assume)
I want to display the average for the query, which will only use the records
of the users that have completed the survey. What syntax do I type to point
to the question 1 field on my query and not on my table?
Hope this makes sense.
Any help would be appreciated.
Many thanks
Steve