<% If Session("GivCustomerID") = "" Or Session("UserID") = "" Then 'not logged in strBouncebackURL = "/asp/homepage.asp?error=NotLoggedIn&referral=www.online-supervision.net/asp/Statistics.asp" response.redirect strBouncebackURL End If %> www.online-supervision.net
<% If Session("UserID") = "" Then %>click here to login to the secure area of the site<% Else response.write "" End If %> homepage
<% If Session("UserID") = "" Then %> register to provide or receive online clinical supervision<% Else response.write "" End If %> online-supervision.net bulletin boards online supervision research resources & links contact


The first table below lists all the research questionnaires developed so far, along with an outline of their key features and response rates to date.

The second table lists a range of key database queries, pertaining to demographics and usage patterns of those using the online-supervision.net site.

Click on the titles of either to access detailed data.

<% Set conn = Server.CreateObject("ADODB.Connection") conn.Open connstr strSQL = "SELECT Surveys.SurveyID, Surveys.SurveyTitle, Surveys.SurveyDate, Surveys.SurveyType FROM Surveys" If Session("UserStatus") <> "researching" OR Session("Authorised") <> "yes" Then strSQL = strSQL & " WHERE Surveys.Security = '0'" End If Set rs = conn.Execute(strSQL) strSQL = "SELECT Count(SurveyQuestions.QuestionID) AS CountOfQuestionID, Surveys.SurveyID FROM Surveys INNER JOIN SurveyQuestions ON Surveys.SurveyID = SurveyQuestions.SurveyID GROUP BY Surveys.SurveyID" Set rs1 = conn.Execute(strSQL) Do While Not rs.eof strSurveyID = rs.fields("SurveyID") strSurveyTitle = rs.fields("SurveyTitle") strSurveyDate = rs.fields("SurveyDate") strSurveyType = rs.fields("SurveyType") strSQL = "SELECT Count(SurveyAnswers.AnswerID) AS CountOfAnswerID FROM SurveyAnswers INNER JOIN (SurveyQuestions INNER JOIN Surveys ON SurveyQuestions.SurveyID = Surveys.SurveyID) ON SurveyAnswers.SurveyQuestionID = SurveyQuestions.QuestionID WHERE Surveys.SurveyID = '" & strSurveyID & "'" Set rs2 = conn.Execute(strSQL) strSQL = "SELECT COUNT(Distinct SurveyAnswers.RespondentID) AS CountOfRespondents FROM SurveyAnswers INNER JOIN (SurveyQuestions INNER JOIN Surveys ON SurveyQuestions.SurveyID = Surveys.SurveyID) ON SurveyAnswers.SurveyQuestionID = SurveyQuestions.QuestionID WHERE Surveys.SurveyID = '" & strSurveyID & "'" Set rs3 = conn.Execute(strSQL) If Not rs1.eof Then intCountOfQuestionID = rs1.fields("CountOfQuestionID") rs1.movenext End If If Not rs2.eof Then intCountOfAnswerID = rs2.fields("CountOfAnswerID") rs2.movenext End If If Not rs3.eof Then intRespondentNumbers = rs3.fields("CountOfRespondents") rs3.movenext End If %> <% rs.movenext loop rs.close SET rs = nothing %>
SURVEYS & QUESTIONNAIRES
SurveyID
Survey title
Date started
Survey type
No. of respondents
No. of questions
No. of responses
<%=strSurveyID%>
<%=strSurveyDate%>
<%=strSurveyType%>
<%=intRespondentNumbers%>
<%=intCountOfQuestionID%>
<%=intCountOfAnswerID & " (/" & intCountOfQuestionID * intRespondentNumbers & ")
("%> <% If intCountOfAnswerID > 0 AND intRespondentNumbers > 0 Then %> <%=int((intCountOfAnswerID/intCountOfQuestionID)/intRespondentNumbers * 100) & "%"%> <% Else %> 0% <% End If %> response rate)

<% strSQL = "SELECT Queries.QueryID, Queries.QueryName, Queries.QueryDescription FROM Queries" If Session("UserStatus") <> "researching" OR Session("Authorised") <> "yes" Then strSQL = strSQL & " WHERE Queries.QuerySecurity = '0'" End If Set rs = conn.Execute(strSQL) If Not rs.eof Then Do While Not rs.eof strQueryID = rs.fields("QueryID") strQueryName = rs.fields("QueryName") strQueryDescription = rs.fields("QueryDescription") %> <% rs.movenext loop rs.close SET rs = nothing End If %>
QUERIES
QueryID
Query name
Description
<%=strQueryID%> 
<%=strQueryDescription%> 


Copyright 2002-4, GroupInterVisual Ltd. All rights reserved.