Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    pede0293 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    17

    Adding Pass/Fail and Audit to a school database

    Hello,



    I have inherited an Access project from a former employee. Unfortunately, I do not know a lot about Access. Any help you can give me would be wonderful.

    My school currently keeps all grades in an Access program. Right now we just assign numerical values and those are turned into grades (I cannot actually find this table). Overall it works well, however, we now have classes where we need to input Pass/Fail and Audit.

    Please let me know what information I can give to make answering my question easier. Also, if I need to upload the file to make it easier to understand, please let me know the best way to do this without including private information.

    Thank you!
    Erika

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Make a copy of database, remove confidential data (address, phone, etc), run Compact & Repair, zip if still large, attach to post. Attachment manager is below the Advanced post editor window.
    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
    pede0293 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    17

    Attached file

    Thanks for the information! I've attached the file.

    Quote Originally Posted by June7 View Post
    Make a copy of database, remove confidential data (address, phone, etc), run Compact & Repair, zip if still large, attach to post. Attachment manager is below the Advanced post editor window.
    Attached Files Attached Files

  4. #4
    pede0293 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    17
    I've also attached a notepad file I found. Perhaps the code in there can be changed? If so, where would I paste this information in Access?

    Thanks
    Attached Files Attached Files

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    The Students And Classes table has the Grade field. You want to input a Pass/Fail/Audit grade into this field? Since it is a number field, I suggest you pick large numbers to represent Pass/Fail/Audit, numbers that cannot be mistaken for normal number grades. Like:

    Pass = 997
    Fail = 998
    Audit = 999

    Then in a query or report textbox that displays grade (such as the Class Results Summary) have an expression that will convert those numbers to the words. Like:

    IIf([Grade]=997,"Pass",IIf([Grade]=998,"Fail",IIf([Grade]=999,"Audit",[Grade])))

    You probably don't want those values to be included in GPA calculation. If there is a GPA calculation on any report or form, identify them and I will look at.

    The alternative is to change the Grade field to a text datatype so numbers and alphas can be entered. This approach presents its own set of issues.
    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.

  6. #6
    pede0293 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    17
    There are some reports with GPA calculations:
    Valedictorian
    Student Full Transcript
    Report Card By Year

    Ideally I would like to put Pass/Fail/Audit (or number equivalent) in the Classes Form -> Assignments tab -> View assignments and input the word/number for each student.

    Thanks



    Quote Originally Posted by June7 View Post
    The Students And Classes table has the Grade field. You want to input a Pass/Fail/Audit grade into this field? Since it is a number field, I suggest you pick large numbers to represent Pass/Fail/Audit, numbers that cannot be mistaken for normal number grades. Like:

    Pass = 997
    Fail = 998
    Audit = 999

    Then in a query or report textbox that displays grade (such as the Class Results Summary) have an expression that will convert those numbers to the words. Like:

    IIf([Grade]=997,"Pass",IIf([Grade]=998,"Fail",IIf([Grade]=999,"Audit",[Grade])))

    You probably don't want those values to be included in GPA calculation. If there is a GPA calculation on any report or form, identify them and I will look at.

    The alternative is to change the Grade field to a text datatype so numbers and alphas can be entered. This approach presents its own set of issues.

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Isn't Pass/Fail/Audit a rating assigned to the class, not individual assignments? So either a student has a number grade for the class or one of Pass/Fail/Audit. This is the Grade field on the Students tab.

    Assignments tab doesn't have field for class level info such as class grade. It only shows the percent weight each exam/assignment contributes to the overall grade. The Results table stores the score for each exam/assignment. The Assignments form is where you enter scores for exams/assignments.

    So for the GPA calc, you want to exclude the Pass/Fail/Audit classes?
    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.

  8. #8
    pede0293 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    17
    It is possible that a student would audit a class but not receive a grade, while all others in the class will receive a grade. I don't foresee that being the case with Pass/Fail though.

    And for the GPA calc I wouldn't want any audit/pass/or fail to count at all.

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    That confuses me.

    A student doing Audit could still get a number grade? But students given a simple Pass or Fail will not receive a number grade?
    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.

  10. #10
    pede0293 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    17
    Sorry to be confusing - no, one individual student could only get an audit or a number grade (or pass/fail for that matter) but within one class you might have one student that is auditing and another student that is getting a number grade.
    Hope that clarifies it!

    Quote Originally Posted by June7 View Post
    That confuses me.

    A student doing Audit could still get a number grade? But students given a simple Pass or Fail will not receive a number grade?

  11. #11
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I was making an assumption that Grade field is number type. I just looked at it and it is actually text type. It is ready to receive P/F/A or numbers as values.

    I reviewed the queries used to derive the GPA. They don't use the Grade field. The Cumulative Class Percentiles query uses the Scores from Results table to calculate a grade %, that value carries forward into the 3 reports you listed and is the basis for GPA calc.

    This means if scores are entered even for classes that are P/F/A, they will be included in the GPA. To exclude those scores, need to adjust the Cumulative Class Percentiles query. Just filtering the P/F/A classes out of the query causes issues in subsequent queries if the student has no other classes. So I adusted the formula for Grade (%). Open the query in SQL View of the query designer and paste this statement in:

    SELECT DISTINCTROW [Students And Classes].StudentID, Assignments.ClassID, Sum((IIf(IsNull([Results].[Score]) Or [Grade] In ("P","F","A"),0,[Results].[Score])/[Assignments].[MaximumPoints])*[Assignments].[PercentOfGrade]) AS [Grade (%)]
    FROM Assignments INNER JOIN (Results INNER JOIN [Students And Classes] ON Results.StudentID = [Students And Classes].StudentID) ON (Assignments.AssignmentID = Results.AssignmentID) AND (Assignments.ClassID = [Students And Classes].ClassID)
    GROUP BY [Students And Classes].StudentID, Assignments.ClassID;

    Hopefully nothing else in the project needs to be changed.
    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.

  12. #12
    pede0293 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    17
    Thanks - I changed the info in the query. Now, how will it work to input Pass/Fail or Audit when entering grades under Classes -> Assignments -> View assignments? What value do I put in?

    Thanks so much for the help!

  13. #13
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Read post #7 again.

    The Grade field is on Students tab. It is already set for text entry, presumably A,B,C,D,F. Now you want Pass and Fail and Audit. Use P for Pass and maybe X for Audit.
    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.

  14. #14
    pede0293 is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    17
    I'm sorry, I don't fully understand. I went to Students under Forms and I see the Grade field but it doesn't allow anything to get entered. Isn't this pulling from somewhere else? And does this mean that Pass/Fail/Audit wouldn't be entered under Class like the rest of the grades?

    Thanks so much!



    Quote Originally Posted by June7 View Post
    Read post #7 again.

    The Grade field is on Students tab. It is already set for text entry, presumably A,B,C,D,F. Now you want Pass and Fail and Audit. Use P for Pass and maybe X for Audit.

  15. #15
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I am referring to the form Classes and the Students tab. I have no problem entering data into the Grade box on Students tab of the Classes form. The entry is saved into Students And Classes table.

    The Students form doesn't allow any data entry in the two larger bottom subforms. Both of those subforms are locked up and don't allow any edits or new records, just to display existing records. Only the Awards subform allows entries. The bottom subform shows assignments. The textbox used as a label to display the class name shows #Error when there are no assignments associated with student.
    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.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Display PASS or FAIL using Unbound textbox
    By Shambler2 in forum Reports
    Replies: 7
    Last Post: 06-02-2011, 11:19 AM
  2. Your comments on this school database system please
    By crazycat503 in forum Database Design
    Replies: 3
    Last Post: 05-24-2011, 09:28 AM
  3. School Enrollment Database
    By jpepin in forum Database Design
    Replies: 1
    Last Post: 04-08-2010, 05:23 PM
  4. Need help a school report database
    By learnac in forum Database Design
    Replies: 1
    Last Post: 01-28-2010, 09:14 PM
  5. Database Design for a School
    By FallingToaster in forum Database Design
    Replies: 2
    Last Post: 08-12-2009, 10:47 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