Results 1 to 7 of 7
  1. #1
    Ray Peterson is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2015
    Posts
    5

    Creating DB to track same group of people


    I need to track a few different categories for the same 30-40 people. For example, say I'm a teacher and I want to keep track of test results, quiz scores, extra credit, special projects, research papers, etc. for the same 30-40 students as an ongoing project. Right now my field names are those I already listed, with first name and last name being 2 more. So there are 20 records with 1 name, 25 with another, etc. I'd like to design a form where I can search one name and have multi-tabs with the different categories and have the various records for each person listed. I've always worked with db's where each record is unique, and I'm not sure how best to go about it this way - or if that's sort of the opposite of what Access is intended for?

    Thanks in advance.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    What I usually do is start by identifying the various entities. Then I create a diagram that illustrates how the various entities relate to each other. For instance, ExamType could be an entity so I would draw a rectangle on a piece of paper and title the rectangle tblExamType. I would try to imagine what the different exam types could be and maybe list a couple of them on a separate piece of paper. Looking at a short list of exam types, I will try to imagine different attributes of my entity, exam types. Maybe some attributes would be ExamName, ExamDescription, ExamVersion. I would then go back to the rectangle on the first piece of paper and list out the attributes under the title, 'tblExamType'.

    As I add additional entities to my Entity Relationship Diagram, I will draw relationships, connecting the entities on their Keys.

  3. #3
    Ray Peterson is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2015
    Posts
    5
    Thank you, that's really helpful. The db's I've worked with before have all been very flat, I'm a bit new to db's heavy on relationships so I'll have to do some research on that.

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Here is a 15 min. video that might help.
    https://www.youtube.com/watch?v=-fQ-bRllhXc

  5. #5
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    You said you want tabs with different categorys, It sounds to me like you already understand the relationships if this is the case. Your tabs would represent tables on the database. Each one relating to the teacher. If you could give an example of the data that may relate to a teacher we can help further.

    the teacher information should be in my opinion just information that is specific to them. Other info such as the test results will be stored in a new table. But is that all you need there? just a test result?

    each teacher will have a unique ID, then in your test result table... you would have a field called teacher ID, then a field called test result.

    EG:
    1-75%
    1-50%

    that shows the first teacher in your table has two test results. Obviously these records need a unique ID too but hopefully you can visualise how to structure it now. assuming thats how you want it.

  6. #6
    Ray Peterson is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2015
    Posts
    5
    Thanks, Homegrownandy. So in tblTeachers I have TeacherID, TeacherLastName, TeacherFirstName as fields.

    I have 4 other tables: tblTests, tblQuizzes, tblProjects, tblExtraCredit with fields: TeacherID, TeacherLastName, TeacherFirstName, StudentID, StudentLastName, StudentFirstName, Test(/Quiz/etc)Date, TestCategory, Grade, etc. I do anticipate needing to have all that info together at some point, but I can just do a union table for that. I have a one-to-many relationship between TeacherID in tblTeachers and StudentID in the 4 different category tables.

    I've started with tblTests and created a subform - can a subform be multi-tabbed?

  7. #7
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 8 Access 2013
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    705
    I have 4 other tables: tblTests, tblQuizzes, tblProjects, tblExtraCredit with fields:
    I would recommend you to make only one table with a field for type. Something like tblActivity.

    Avoid naing tables what yuo be data in a field.

    with fields: TeacherID, TeacherLastName, TeacherFirstName, StudentID, StudentLastName, StudentFirstName, Test(/Quiz/etc)Date, TestCategory, Grade, etc. I do anticipate needing to have all that info together at some point, but I can just do a union table for that. I have a one-to-many relationship between TeacherID in tblTeachers and StudentID in the 4 different category tables.
    TeacherLastName and TeacherFirstName should only be store in the teach table. Only the TeacherID is stored in related tables. When you need the name you look it up.

    same is true for StudentLastName and StudentFirstName.

    To get each category on a separate tab you would create multiple sud forms that filter the data for the Activity to the desired category

    I would also make a single table for all people.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Creating queries to track changes in data
    By dml2000 in forum Queries
    Replies: 9
    Last Post: 09-30-2015, 02:28 PM
  2. Replies: 0
    Last Post: 09-13-2015, 09:07 AM
  3. Track availability of people for up to a year out
    By BRZ-Ryan in forum Database Design
    Replies: 10
    Last Post: 12-11-2013, 09:51 PM
  4. How to group people's titles by gender?
    By Idznak in forum Queries
    Replies: 3
    Last Post: 11-17-2013, 09:56 AM
  5. Creating a Database to track Employee Training
    By osolaru in forum Database Design
    Replies: 9
    Last Post: 08-25-2011, 01:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums