• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Access 2007 Methods: Structure of tables/forms for entering data

Good morning, I am going to be building a new database and I would like to get some feedback from more knowledable Access experts before I begin.  The database will likely consist of many forms/tables and will serve as a template for projects where students or other users will abstract information from academic literature (to create a database of information for writing up reports).  The goal will be to capture all relevant information contained in the article, but because this is a template it can not be specifically tailored to a single project.
Some of the forms will gather routine information that is conserved across projects (for example Authors, Title, Journal, number of participants, number lost to follow up) but because of the varying study designs one article might have 3 study groups whereas another could have 1 (ie. an observational study with 3 group vs. a randomized trial with a control and two experimental groups) or include multiple diseases etc...  My first question is this, how do you suggest implementing form/table structure to deal with this disparate 'length' of data in each study?  Do I make a single table for, for example study characteristics and have Group1, Group2, Group3 .... Group7 fields and so on for each of these items that could contain multiple entries?  And how should this be presented on the form so that data entry is elegant and not an exercise in navigating through many fields which could be irrelevant to a specific study?  One method I thought of was to hide many of the form controls and have them appear on some selection (i.e. a radio button or combo box for number of groups) but this might still be a bit messy.  Does anyone have any ideas about how to make the form controls dynamic to what the user needs to transcribe?  Another issue to keep in mind will be that the data for these entires will be cross checked with another student/user's entry so I will likely be adding multiple list boxes for users to make selections where 'open ended' text entry isn't necessary (for example in selecting study type or disease which are fairly consistent).  
Anyone's help will be greatly appreciated and I will gladly answer any additional questions you might have.  
Thanks in advance for any help,
Bevo
0
Bevos
Asked:
Bevos
1 Solution
 
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
Do I make a single table for, for example study characteristics and have Group1, Group2, Group3 .... Group7 fields and so on for each of these items that could contain multiple entries?

Yes you want  a single table.   Each study group will be a separate record not separate fields. You will use a single record to define one group. If the attributes that design a group vary a lot the I use a child table (1-to-many)  where each record defines just one attribute.

One method I thought of was to hide many of the form controls and have them appear on some selection (i.e. a radio button or combo box for number of groups) but this might still be a bit messy.
You instincts are correct that it would be messy. It should  be avoid.   I would use a table where you have a record for each of the varying attributes.

Example table to hold attributes:

Generic Fields:
-Parent_Table_RecID -foreign  key field that links to the parent table's primary key
-Attribute_Type_RecID - a foreign key to the lookup table of the attribute names
-Attribute_Data -  This is the actual data for this attribute type


0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now