D
debinnyc
I am working in Access 2003 and trying to design a database to collect survey
results. I have the following setup:
tblQuestion
QuestionID Autonumber PK
Section Integer
Question Text
tblRespondent
RespondentID Autonumber PK
Name Text
Address Text
etc.
tblSurveyResponses
SurveyDate DateTime - Default Date()
RespondentID Long FK on tblRespondent
QuestionID Long FK on tblQuestion
Answer Integer
and a query that joins the tables:
SELECT SR.Answer As Response
FROM (tblSurveyResponses As SR INNER JOIN tblRespondent As Rs ON
SR.RespondentID = Rs.RespondentID) INNER JOIN tblQuestion As Qu ON
SR.QuestionID = Qu.QuestionID
ORDER BY Rs.Name, SR.SurveyDate, Qu.Question
My questions are:
What is the best way to join to an employee table (surveys have a place for
employee being surveyed, but sometimes don't get a response)
How do you suggest I create a form to enter the data efficiently? I assume I
would have to create another query, but that would be dependent on how I can
fold the employee tbl into the mix.
Sorry for being long winded, thanks for your help.
results. I have the following setup:
tblQuestion
QuestionID Autonumber PK
Section Integer
Question Text
tblRespondent
RespondentID Autonumber PK
Name Text
Address Text
etc.
tblSurveyResponses
SurveyDate DateTime - Default Date()
RespondentID Long FK on tblRespondent
QuestionID Long FK on tblQuestion
Answer Integer
and a query that joins the tables:
SELECT SR.Answer As Response
FROM (tblSurveyResponses As SR INNER JOIN tblRespondent As Rs ON
SR.RespondentID = Rs.RespondentID) INNER JOIN tblQuestion As Qu ON
SR.QuestionID = Qu.QuestionID
ORDER BY Rs.Name, SR.SurveyDate, Qu.Question
My questions are:
What is the best way to join to an employee table (surveys have a place for
employee being surveyed, but sometimes don't get a response)
How do you suggest I create a form to enter the data efficiently? I assume I
would have to create another query, but that would be dependent on how I can
fold the employee tbl into the mix.
Sorry for being long winded, thanks for your help.