Design a Microsoft Access Survey Database for Audit Results
Question details
Design a normalized Microsoft Access database for a 60-question yes-or-no audit survey and report its results.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- An audit survey needs to record answers alongside auditor, patient, and audited-person information and support analysis across audits.
- Observed behavior
- The desired design stores each answer as a separate response record and supports overall percentages, results by audited person, and counts of No answers by question.
List the survey questions and decide what identifies one audit, including its auditor, patient, and audited person. Confirm whether each audit can have only one answer per question and how unanswered questions should be handled.
Create related tables and queries for audit survey results
Use one row per answered question to make the survey easier to maintain and analyze.
The example uses a Yes/No field for answers, so a separate answer-options table is not required for this fixed two-choice survey. If options may change or include more choices, use an AnswerOptions table and store its key in AuditResponses instead.
The queries below count only recorded responses. An unanswered question should have no response row; do not treat it as a No answer.
In Access, choose Create > Table Design. Create SurveyQuestions with QuestionID as its primary key and QuestionText; Audits with AuditID as its primary key and fields for the audit date and related people; and AuditResponses with ResponseID as its primary key, AuditID, QuestionID, and a Yes/No field named AnswerYes.
Use Create > Table Design to add related tables for auditors, patients, and audited people as needed. Add their ID fields to Audits, then open Database Tools > Relationships to link each primary key to its matching foreign key and enable referential integrity. Also link Audits to AuditResponses and SurveyQuestions to AuditResponses.
Open AuditResponses in Design View and use Design > Indexes to create a unique composite index on AuditID and QuestionID if each question can be answered only once per audit. Enter a response row only after the answer is known, and explicitly select Yes or No.
Choose Create > Query Design, close the table-selection window, and switch to SQL View. Run: SELECT Count(*) AS AnsweredCount, 100.0 * Avg(IIf(AnswerYes=True, 1, 0)) AS YesPercent FROM AuditResponses; The denominator is the number of recorded answers.
In a new query's SQL View, run SELECT Audits.AuditedPersonID, Count(*) AS AnsweredCount, 100.0 * Avg(IIf(AuditResponses.AnswerYes=True, 1, 0)) AS YesPercent FROM Audits INNER JOIN AuditResponses ON Audits.AuditID = AuditResponses.AuditID GROUP BY Audits.AuditedPersonID; For the most frequent No answers, run SELECT SurveyQuestions.QuestionID, SurveyQuestions.QuestionText, Count(*) AS NoCount FROM SurveyQuestions INNER JOIN AuditResponses ON SurveyQuestions.QuestionID = AuditResponses.QuestionID WHERE AuditResponses.AnswerYes=False GROUP BY SurveyQuestions.QuestionID, SurveyQuestions.QuestionText ORDER BY Count(*) DESC;

Review exported audit results in WPS Spreadsheets
WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility. Export Access query results to a spreadsheet for a straightforward transition to reviewing and sharing audit summaries; WPS does not replace the Access relational database.

Frequently Asked Questions
Why shouldn't I create 60 answer fields in one table?
Separate answer fields make questions part of the table structure, so adding or changing questions requires redesigning the table. A response table with AuditID, QuestionID, and an answer stores each answer as a row and makes aggregate queries easier.
How do I make sure an audit has only one answer per question?
Open AuditResponses in Design View, choose Design > Indexes, and create a unique composite index on AuditID and QuestionID. Use this constraint only if repeat answers within the same audit are not allowed.
How should unanswered questions be stored?
With the Yes/No design described here, leave an unanswered question without an AuditResponses row. The example queries count recorded answers only, so missing responses are not counted as No.
Do I need an answer-options table for Yes and No?
Not necessarily. A Yes/No field is sufficient for fixed two-choice answers. Use a separate AnswerOptions table if the survey needs additional or changeable choices.
Can I share Access results with someone who uses WPS Office?
Export the Access query results to an Excel file, then open the XLSX file in WPS Spreadsheets. The exported sheet contains the results, not the Access database's relationships or queries.




