Complex Database (1 Viewer)

rushilc

New member
Local time
Today, 15:31
Joined
Jun 6, 2013
Messages
8
I only have a little experience with Access and am developing a new database for a summer project for a hospital There are 5000 patients in the database. They all get a questionnaire every year. So I made one table with some key pieces of information about the patients, and then I made separate tables for each year they receive their questionnaire. The years only have subject id as the information connecting the the main table. I attached a screenshot of the relationships window.
 

Attachments

  • Picture1.jpg
    Picture1.jpg
    106.1 KB · Views: 202

rzw0wr

I will always be a newbie
Local time
Today, 18:31
Joined
Apr 1, 2012
Messages
489
Start by Googling Access Table Normalization.

I see a lot of problems with your tables the way they are.

Dale
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 18:31
Joined
Feb 19, 2002
Messages
43,233
Start by making 3mo - 17 year tables all ONE. Add a column to identify the time period. The way you have it organized, is going to cause a huge duplication of effort. When you get down to a single table, your queries with take a parameter to select just data for year 1 or year 17 or some group of years, whatever.
 

rbh1090

Registered User.
Local time
Tomorrow, 08:31
Joined
Aug 5, 2015
Messages
18
Merging all these tables into one will make things easier when querying but it will also make your queries slower because all the data is in one place. Some times is better not to normalize ...
 

Users who are viewing this thread

Top Bottom