Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Normalization Help needed
S Finlay 

14 years ago

Hi again.

I need some help with the following. I'm trying to design a small database which is essentially a patient survey consisting of 19 questions, each with a simple A, B or C answer.

This is what I have so far :

3 Tables

A Patients Table with the fields

PatientID (An Auto Number)
First Name
Last Name
Todays date

A Questions Table with the fields

Question ID (Numbers 1-19)
Question Text (The actual content of the question)

An Answers Table with the fields

Question ID (ie linking to the question table)
Answer A  
Answer B
Answer C (each being a yes/no data type to show which box has been ticked)

I'm not sure if  I'm going about this in the right way, for example each patient might take the same survey more than once (One to many relationship) but I can't see how to link this to the actual questions and answers ?
Also, depending on the patient answer, each answer has a relative "points" value. For example an A answer = 0, A B answer= 1 and a C answer = 2 points. The idea is to add all the answered questions to get a total score, again, I can see how to achieve this ?

Any help very much appreciated.



Reply from Richard Rost:

I would do this:

PatientT: PatientID, FirstName, LastName, etc.
PatientTestT: PatientTestID (AutoNum), PatientID (Foreign), TestDate, TotalScore, etc.

This allows you to track multiple tests for each patient. Now if you just care about saving the total score from their test, you can save that in the PatientTestT. If you need to track ALL of their answers, you'd need a third table:

TestAnswerT: TestAnswerID (AutoNum), PatientTestID (Foreign), QuestionID, AnswerGiven

Now for your points, just add that to your Answer table:

AnswerT: AnswerID (AutoNum), AnswerText, PointsGiven (Int)

Now for each answer, you can just add up the points in a form field or global variable (or even drop it in the PatientTestT table).

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/17/2026 8:11:44 PM. PLT: 1s