I am trying to refine my database structure based on the information I have read in this forum about surveys and database design. The more I learn, the more complicated the database design becomes. I am not an access expert and have been teaching myself VBA over the last few months to accomplish more advanced tasks in the database.
I have 3 surveys:
Survey1: one for pregnant women (Program3)
Survey 2: one for children 1 year-3 year (Program1) and 3 year - 5 year (Program2)
Survey 3
ne for infants birth-1year (Program1)
Each person will take the survey many times. Children in program 1 could take Survey 3 a total of 6 times and Survey 2 a total of 5 times. Then that child could move into Program2 and take Survey 2 three more times. Survey 1 is the simplest. One woman could take the survey 3 times while she is pregnant, then an indefinite number of times while she is breastfeeding.
My understanding is that I should have one table that holds all the questions for the 3 surveys. I would have these fields:
tblQuestions
QuestionID
SurveyID
QuestionNumber
Question Text
OptionGroup
Survey 2 and Survey 3 share 7 questions in common. Do I need to break this table apart further so that these 7 questions can have more than one SurveyID? Can someone give me an example of what this might look like, as I am having difficulty conceptualizing it?
I also have a table for response options. I have a similar question here. Two of the options are shared by Survey1 and Survey2. In addition, these two options (plus 4 other options) must allow for multiple selections. I am having trouble bending my mind around how to set this up. Thanks for the help!
For example: This table is related to tblOption by OptionGroupID
tblOptionGroup
OptionGroupID OptionGroup Name
1 YesNo
2 Chart Servings
3 Drinks
4 Food Resources
YesNo is used by Survey 1, 2 and 3. Drinks and Food Resources are options that can be used by Survey 2 and 3. Drinks and Food Resources also need to allow multiple selections. Chart Servings is used only by Survey 3.
I currently do not have the database design normalized for the surveys (I thought I had been thorough in the design process, but didn't realize the extra complications in designs for surveys.). Each respondent has a record of their responses to each survey. There is no data in the database yet, but I need to move quickly toward that end, so any help that can be given will be greatly appreciated!
I have 3 surveys:
Survey1: one for pregnant women (Program3)
Survey 2: one for children 1 year-3 year (Program1) and 3 year - 5 year (Program2)
Survey 3
Each person will take the survey many times. Children in program 1 could take Survey 3 a total of 6 times and Survey 2 a total of 5 times. Then that child could move into Program2 and take Survey 2 three more times. Survey 1 is the simplest. One woman could take the survey 3 times while she is pregnant, then an indefinite number of times while she is breastfeeding.
My understanding is that I should have one table that holds all the questions for the 3 surveys. I would have these fields:
tblQuestions
QuestionID
SurveyID
QuestionNumber
Question Text
OptionGroup
Survey 2 and Survey 3 share 7 questions in common. Do I need to break this table apart further so that these 7 questions can have more than one SurveyID? Can someone give me an example of what this might look like, as I am having difficulty conceptualizing it?
I also have a table for response options. I have a similar question here. Two of the options are shared by Survey1 and Survey2. In addition, these two options (plus 4 other options) must allow for multiple selections. I am having trouble bending my mind around how to set this up. Thanks for the help!
For example: This table is related to tblOption by OptionGroupID
tblOptionGroup
OptionGroupID OptionGroup Name
1 YesNo
2 Chart Servings
3 Drinks
4 Food Resources
YesNo is used by Survey 1, 2 and 3. Drinks and Food Resources are options that can be used by Survey 2 and 3. Drinks and Food Resources also need to allow multiple selections. Chart Servings is used only by Survey 3.
I currently do not have the database design normalized for the surveys (I thought I had been thorough in the design process, but didn't realize the extra complications in designs for surveys.). Each respondent has a record of their responses to each survey. There is no data in the database yet, but I need to move quickly toward that end, so any help that can be given will be greatly appreciated!