Ok. I need to design a form in my database to have the user complete questions on a personnel exit interview. Most of these questions would be yes; no type. I know it’s now good database design to use yes/no fields in table. I have researched and found the “At your survey” by duane hokum. But the design uses combo boxes in subforms for the questions??. Is there another way to design this. For example. I have a list of employees in a table. I need the user to be able to select the employee on a form or subform and have a list of questions to answer yes; no or perhaps unknown. Should I have a list of questions in a table with possible answers? And how do I connect them to the employee? So far I have come up with the following table structure but can’t seem to get it the way I want to on the form with putting the yes/no test boxes in a table for each question. Table structure:
Code:
tblEmployee
EmplID (PK Auto)
SSN
FirstName
Lastname
tblQuestion
QuestionID (PK Auto)
Question
tblAnswer
AnswerID (PK Auto)
EmplID (FK)
QuestionID (FK)
Answer
Also; when create a qry for the report; it doesn’t come out right. The questions and answers doesn’t correspond with the answers and the empl. It almost seem like I should be doing a pivottable or matrix.
Ultimately; I would like to see a form like this:
Code:
EmplID SSN HireDate
FirstName Position TermDate
LastName
Yes No Don’t Know
Did employee leave voluntarily? Radio button go here
Was the employee terminated?
And Report like this
Code:
EmplID Q1 Q2 Q3 Q4 Q5 Q6
450 x x x x
451 x x x x
As I mentioned before; I can only find examples with combo boxes for the questions. Does someone have something similar to what I’m looking for please? FYI; I posted in another forum but no ans.