Results 1 to 5 of 5
  1. #1
    BDevil15 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2013
    Posts
    10

    Student Grades


    I am looking for a way to grade students in several behavioral categories up to 2 times per day and every day, but not all students will be graded in the same areas. Obviously I need a student table. My categories are called Target Behaviors. And then I need to have grades for each target behavior. I just cant seem to figure out how to link target behaviors to students and then have a form for each student which will have their target behaviors listed and then just plug in points for that day. I hope that makes sense. Ive tried several ways but just cant see it.

    Thanks for any help you guys might provide.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,960
    Students can have many behaviors and each behavior can be associated with many students. You need a table for student info and then probably a table of behaviors info. Then another table that will associate students with behaviors - a 'junction' table.

    What have you tried?

    Cross post: http://forums.aspfree.com/microsoft-...ng-539103.html
    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,742
    Sounds like you may need

    tblStudent
    StudentId PK
    StudentName

    tblBehavioralArea
    BehaviorID PK
    BehaviorName
    BehaviorDescription

    Because you have many students and many behavior areas you have a Many to Many relationship.
    To resolve you need a junction table.

    tblJunctionStudentBehaviorByDatePeriod
    (allows many ratings per day per student per behavior)
    studentBehaviourDateID PK
    StudentID FK to tblstudent
    BehaviorID FK to tblBehavior
    RatingDate
    RatingValue

    The fields with Green first letter should form a composite unique index to prevent duplicates.

    This could work if you mean on a given day you rate different categories say 01 in the morning and 05 in the afternoon.
    If you rate the same behavior twice on one RatingDate, this structure will not work. I'm not clear on what
    several behavioral categories up to 2 times per day
    means in real terms. If I have misunderstood, please clarify.

  4. #4
    BDevil15 is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2013
    Posts
    10

    Thanks

    What Im hoping for is to have a form that when I open the form it is pre populated with each students target behavior so all I have to do is go down the list and plug in the points for the day.

    This is a mockup of what I was hoping for.

    http://www.mediafire.com/view/ypx4et...cfa/Access.png

    Thanks

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,960
    So you need the junction table that associates students with targets. Then you need another table that records daily points. 'Pre-populating' the daily form with records based on the student/target associations will require running an INSERT SELECT query. You can build this as a query object and run it manually or write a VBA procedure that will run the sql action. Something like:

    CurrentDb.Execute "INSERT INTO DailyTable(StudentID, TargetID, DateEnter) SELECT StudentID, TargetID, Now() AS DateEnter FROM StudentTargets;"

    The real trick is figuring out what event to put this code into (maybe a button click) and then somehow making sure it isn't accidentally run multiple times when it isn't desired to. And if you want to create records for only a particular student or class, then include filter criteria in the SELECT clause. The issue with this approach is it will create a record for each and every target, even if you don't need to enter points for each and every.
    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.

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

Similar Threads

  1. Replies: 4
    Last Post: 09-18-2012, 05:07 AM
  2. Join Query for Student Grades Database
    By usmcgrunt in forum Queries
    Replies: 2
    Last Post: 04-15-2011, 07:37 PM
  3. student question
    By scarlettera in forum Access
    Replies: 7
    Last Post: 03-27-2011, 12:03 PM
  4. Replies: 2
    Last Post: 08-03-2010, 02:47 PM
  5. Replies: 1
    Last Post: 10-23-2006, 03:45 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