Results 1 to 2 of 2
  1. #1
    only1abhi is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2011
    Posts
    2

    Design issue for a complex many-to-many database.

    Hello All,

    Back after many many years. Starting out at access again so I am struggling on how to design the tables & relationships for a system I have volunteered to help out with. Your feedback would be really valuable.

    Task:
    To design a workout system for personal trainer.

    Problem:
    Can't seem to get my head around how many (and which) tables I need to create at the start.

    Requirement:
    1. Each trainee to have a seperate training file (create a tblTrainee. fine.)
    2. Each trainee could do a 6 or 8 week cycle of either: Weight Training, Fitness or Yoga.
    3. Each training cycle will have a workout every week. Each workout will consist of various exercises like: Squats, Bench Press, etc (if doing Weight Training).
    4. Each exercise will have attributes (like WeightLevel, NoOfReps, Sets, RestPeriod), etc. But these attributes will be different for each cycle type, e.g. Yoga would not have these attributes, it would have: Sunsalutation, breathing level, etc.
    5. Create Graphs to monitor the progress.

    Effectively, what I am trying to achieve is this:

    WEIGHT TRAINING (6 weeks)
    WEEK 1

    DAVID | WEIGHT | REPS | SETS | REST PERIOD


    ------------------------------------------------------
    SQUATS | 40kg | 10 | 3 | 90 secs
    BENCH PRESS | 50kg | 12 | 4 | 60 secs

    This would then be replicated for WEEK 2, 3, 4, 5, 6.


    THE PROBLEM AGAIN:
    What tables do I create? What do I create a many-to-many relationship with?

    MY ATTEMPT SO FAR:
    tblTrainee
    tblProgramme <--- Either Yoga, Weight Training, Fitness, etc.
    tblWorkout <---- Do I need a table for a weekly workout? or would this just be a report? I'm confused.
    tbl Exercise <-- Squats, Bench Press, etc
    tblAttributes <--- Do I need a separate table for attributes such as Weight, Reps, Sets, Rest Period, etc or could these be attributes in tblExercise?

    Thank you all.

    Warm regards,
    Abhi

  2. #2
    only1abhi is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2011
    Posts
    2
    17 views, but no response.

    Thank you.

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

Similar Threads

  1. Database Design for Specification Database
    By khwaja in forum Database Design
    Replies: 2
    Last Post: 11-24-2011, 03:58 AM
  2. Database Design
    By accessprogram in forum Database Design
    Replies: 1
    Last Post: 12-05-2010, 12:02 AM
  3. Complex query system for map database
    By brian.tunks in forum Queries
    Replies: 2
    Last Post: 07-28-2010, 07:07 AM
  4. Complex Survey: Table Structure Design and Normalization
    By kevin007 in forum Database Design
    Replies: 2
    Last Post: 07-06-2010, 09:21 AM
  5. Database Design Issue
    By joekiteire in forum Database Design
    Replies: 6
    Last Post: 02-26-2009, 04:53 AM

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