Hi,
I'm trying to modify a survey database that I downloaded from the net. Here's some background on this database:
- fmnuMain is the main form that starts up when you launch this
- frmSurveys is where you go to design the survey
- frmSurveyResponses is where a survey respondent goes to enter/answer questions about a survey.
frmSurveyResponses includes a sub-form called sfrmResponses.
Here's what I'm trying to do.
- I'm trying to modify this database to allow users to enter multiple answers for a single question. Right now, you can't do that, you can only pick one answer and that's it.
- That doesn't work for certain kinds of questions, for example, which days do you watch a certain TV channel. Respondent might want to answer, Mon, Wed, Fri.
So my plan is to do this:
- on sfrmResponses, create a ListBox control to permit users to select multiple answers.
- Make its attribute hidden at first, and add some code in the VB module to make it visible, and make the combo box invisible, when a question is of the type "Multi" for Multiple Choices.
- Note: I don't want to do away with the Combo Box because the Combo Box is used for allowing users to enter open-ended questions.
This is the problem I'm facing now:
- on sub-form sfrmResponses, I added a ListBox control called MultiRspns.
- I copied the Row Source query over from the [Rspns] combo box on this form.
- I've checked and re-checked the SQL code many times, but I just cannot figure out why it is not displaying to correct response options.
- I made the [QstnID] control visible for debugging purposes.
Can someone help me to check why the ListBox is not displaying the possible list of responses that the user can pick from?
AYS2000 is saved in Access 2007 format.
AYS2000_2000 is saved in Acess 2000 format so everyone can view it.
Thanks!