D
Dave Y.
Hello,
I’m looking for some direction. I’m developing a survey tool in MS Access
2003 for a local department in our organization. For the survey setup, I
store the questions in one table and the valid answers for the questions in
another table, each question could have a different set of valid answers. The
survey itself is a single form with a continuous-form subform that displays
the questions and a combo box for the respondent’s answer to the survey
question. When I load the survey I want each combo box to list only the valid
answers for the associated questions. I have tried changing the Row Source on
the combo box to:
SELECT [tblAnswers].[AnswerId], [tblAnswers].[AnswerText] FROM [tblAnswers]
WHERE [tblAnswer].[QuestionId] = Me.[QuestionId].
Me.[QuestionId] is a text box on the subform that holds the reference to the
question. I end up getting the valid answers for the last question in the
survey in every combo box list. Any ideas?
I’m looking for some direction. I’m developing a survey tool in MS Access
2003 for a local department in our organization. For the survey setup, I
store the questions in one table and the valid answers for the questions in
another table, each question could have a different set of valid answers. The
survey itself is a single form with a continuous-form subform that displays
the questions and a combo box for the respondent’s answer to the survey
question. When I load the survey I want each combo box to list only the valid
answers for the associated questions. I have tried changing the Row Source on
the combo box to:
SELECT [tblAnswers].[AnswerId], [tblAnswers].[AnswerText] FROM [tblAnswers]
WHERE [tblAnswer].[QuestionId] = Me.[QuestionId].
Me.[QuestionId] is a text box on the subform that holds the reference to the
question. I end up getting the valid answers for the last question in the
survey in every combo box list. Any ideas?