ACC: Sample Table Design to Support Questionnaire ApplicationsID: Q101675
|
Novice: Requires knowledge of the user interface on single- user computers.
This article describes a table design that you can use for an application
that tallies results from questionnaires and surveys.
The following examples outline nonrelational table design commonly used for questionnaires and surveys and suggests an improved, relational table design.
Table: Table1 (old)
--------------------------------------
FieldName: Respondent ID [Primary Key]
FieldName: Question1
FieldName: Question2
FieldName: Question3
.
.
.
FieldName: Question<n>
Table: Table2 (new)
----------------------------------
Field: Respondent ID [Primary Key]
Field: Question ID [Primary Key]
Field: Response
Query: Query1
---------------------------
Field: Respondent ID
Append To: Respondent ID
Field: Question1
Append To: Response
Field: "Question1"
Append To: Question ID
Query: CrossTabExample
---------------------------
Field: Question ID
Total: Group By
Crosstab: Row Heading
Field: Response
Total: Group By
Crosstab: Column Heading
Field: Response
Total: Count
Crosstab: Value
For more information about append queries, search the Help Index for "append queries," or ask the Microsoft Access 97 Office Assistant.
Additional query words: cross tab append questionnaire flat file survey
Keywords : kbusage TblDsign
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: March 25, 1999