G
Guest
I have a database, tied to an .asp web page that collects the answers to 10
questions and qrites them to a table.
The answers to the questions are stored as numeric data in columns Q1..Q10
I am trying to get the average of the columns that are not blank in a query.
The table is indexed with an autogenerated surveyID
I was using ([Q1]+[Q2]...+[Q10])/10 but this does not take into account the
fields that are blank. I tried the average function but it would not seem to
let me do that.
Perhaps I didn't create the database tables correctly. But I wasn't sure how
to create a new record for each response to each question. from the asp page.
questions and qrites them to a table.
The answers to the questions are stored as numeric data in columns Q1..Q10
I am trying to get the average of the columns that are not blank in a query.
The table is indexed with an autogenerated surveyID
I was using ([Q1]+[Q2]...+[Q10])/10 but this does not take into account the
fields that are blank. I tried the average function but it would not seem to
let me do that.
Perhaps I didn't create the database tables correctly. But I wasn't sure how
to create a new record for each response to each question. from the asp page.