D
DGregg
I am trying to design a db (Access 2003 SP2) and do not know the best
approach to take. I have a paper form for which the Access db will be based.
I will need to create a form for data entry but am having difficulty
determining how to design the tables. In all, I will have 236 fields. Yes,
it's a lot and they are all unique (cannot be calculated using
query/reports/etc.). Once all of the records are entered I will eventually
need to export the data into other applications for additional GIS &
timeline/association analysis.
Originally I created one large table encompassing all 236 fields, but I must
have exceeded the 2000 character limit because I received errors and was
unable to save. I think the better approach might be to breakdown the db
into several tables as there are at least 4 main components for each record
(each component varies in the number of fields but can contain up to 25
fields for each component):
- person (unique; not a set list) (name, DOB, address, etc.)
- event (contains information such as date, time, ID#, location, etc.)
- supervisor review checklist
- employee (unique; not a set list) (name, DOB, address, etc. - will ALWAYS
be different from "person" information above)
The form is person-driven in that there could be multiple persons relating
to a single event (i.e. 3 persons for 1 ID#), therefore 1 record will be
created for each person. Each record will have information for one person
related to an event, event information itself, which in turn will contain the
supervisor review checklist. Also, each event will have information
pertaining to, at minimum, one employee, but could have up to 10 employees
involved with one person/event.
I was thinking of creating tables for Event, Person, Supervisor Review but I
do not know how to link them. I especially do not know how to handle the
employee component. Should there be one large table to hold information for
up to 10 employees (employee1_name, employee2_name, etc.) or should there be
a table for each employee (10 separate tables each containing the same
fields)? Also, normally the ID# would be unique, but since this db is
person-driven, the ID# can be duplicated, so what do I use as a primary key?
Again, I need to be able to arrange the tables so that I can easily have all
of the information entered via a form. The data will need to be analyzed and
exported (ideally in one large db) for further analysis. Please help; I'm at
a loss. Any help is greatly appreciated. Thank you in advance.
approach to take. I have a paper form for which the Access db will be based.
I will need to create a form for data entry but am having difficulty
determining how to design the tables. In all, I will have 236 fields. Yes,
it's a lot and they are all unique (cannot be calculated using
query/reports/etc.). Once all of the records are entered I will eventually
need to export the data into other applications for additional GIS &
timeline/association analysis.
Originally I created one large table encompassing all 236 fields, but I must
have exceeded the 2000 character limit because I received errors and was
unable to save. I think the better approach might be to breakdown the db
into several tables as there are at least 4 main components for each record
(each component varies in the number of fields but can contain up to 25
fields for each component):
- person (unique; not a set list) (name, DOB, address, etc.)
- event (contains information such as date, time, ID#, location, etc.)
- supervisor review checklist
- employee (unique; not a set list) (name, DOB, address, etc. - will ALWAYS
be different from "person" information above)
The form is person-driven in that there could be multiple persons relating
to a single event (i.e. 3 persons for 1 ID#), therefore 1 record will be
created for each person. Each record will have information for one person
related to an event, event information itself, which in turn will contain the
supervisor review checklist. Also, each event will have information
pertaining to, at minimum, one employee, but could have up to 10 employees
involved with one person/event.
I was thinking of creating tables for Event, Person, Supervisor Review but I
do not know how to link them. I especially do not know how to handle the
employee component. Should there be one large table to hold information for
up to 10 employees (employee1_name, employee2_name, etc.) or should there be
a table for each employee (10 separate tables each containing the same
fields)? Also, normally the ID# would be unique, but since this db is
person-driven, the ID# can be duplicated, so what do I use as a primary key?
Again, I need to be able to arrange the tables so that I can easily have all
of the information entered via a form. The data will need to be analyzed and
exported (ideally in one large db) for further analysis. Please help; I'm at
a loss. Any help is greatly appreciated. Thank you in advance.