Results 1 to 4 of 4
  1. #1
    HamBus is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    1

    Database design for volunteers


    I'm trying to build a database to manage a group of volunteers. The end result is that I need a report with the total hours worked by each person for each activity, and then the total hours worked by all volunteers on each given day.

    I already built the table containing the information for each person (name, surname, etc.). I also made a table with the activity and hours. I gave a unique volunteer number for each person and assigned this field as my key.

    Then I created a relationship between these tables. I did something wrong because I keep getting an error message when I try to add 2 different dates and hours for a person.

    Did I wrongfully create these databases ? Is there a better, and simpler, way to achieve my goal.
    Thank you.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Need to know more about data structure. If you want to provide for analysis, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    It's hard to say what may be the issue without seeing your tables.
    From your description I see 3 tables involved (and I might not be seeing the proper picture)

    Volunteers----->VolunteerWorkedOnActivity<----Activities

    Volunteers
    VolID Auto PK
    VolFName
    VolLName
    other Vol info

    Activities
    ActID auto PK
    ActivityName
    ActivityLocation
    other Activity info


    VolunteerWorkedOnActivity
    VolActivityID autonum PK
    VolID FK to Volunteers
    ActID FK to Activities
    VolActDate
    Date of the Activity ' suggest this for part of Unique Index
    VolActStartDtTime Date/Time 'for Time reporting
    VolActStopDtTime Date/Time 'for Time reporting
    other info specific to this Vol, this Activity, this Date


    The three fields in red would form a unique composite index to prevent duplicates.
    The 2 fields in black are for getting the hours worked on a particular "ActivitySession"

    This is for your consideration recognizing that we know very little about your environment and "Business".

    Good luck with your project.

  4. #4
    burrina's Avatar
    burrina is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383

    Multiple Volunteers on Project Screenshot

    I attach a screenshot that may give you some direction or at least an idea. It shows a job and time on that job and you can have many people or volunteers on that job.
    Attached Thumbnails Attached Thumbnails TimeCards.png  

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

Similar Threads

  1. Database Design - Am I doing it right?
    By brharrii in forum Access
    Replies: 2
    Last Post: 09-20-2012, 03:16 PM
  2. Database Design
    By intransit2 in forum Database Design
    Replies: 2
    Last Post: 04-12-2012, 02:20 AM
  3. Database Design for Specification Database
    By khwaja in forum Database Design
    Replies: 2
    Last Post: 11-24-2011, 03:58 AM
  4. Database design - PLEASE HELP!
    By wanderliz in forum Database Design
    Replies: 1
    Last Post: 08-22-2010, 10:56 AM
  5. Database design help
    By DaveyJ in forum Database Design
    Replies: 7
    Last Post: 06-09-2010, 04:18 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