Results 1 to 2 of 2
  1. #1
    alobi is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2013
    Posts
    7

    Table/query Struture

    I have a vb project, that needs to save and return number_grade, letter_grade and students contact information. I know I need at least two tables,
    studenttbl for student information and another for Number_grade, the columns in the tables will look something like this.

    English Mathematics History (GradeTbl)
    90 80 90


    LName FirstName PhoneNumber (Studenttbl)
    Mark John 98800000

    when students make 90 a letter grade of A is assigned, when the number-grade of 80 a letter_grade of B is assigned my problem is that I do not have an idea where to how to represent this letter_grade in the db and be able to retrieve print in report form as show below

    If one can point me to the right direction maybe show me an example or a write up on this, it will be appreciated.

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    you need at least 3 - students, subjects and marks

    tblStudents
    StudentPK autonumber
    StudentName text
    ...
    ...

    tblSubjects
    SubjectPK autonumber
    SubjectName text
    ...
    ...

    tblMarks
    MarkPK autonumber
    SubjectFK long - link to tblSubjects
    StudentFK long - link to tblStudents
    Mark integer
    ...
    ...

    a calculation to convert marks to grades might be

    switch(tblmarks.mark>=90,"A",mark>=80,"B",true,"C" )

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

Similar Threads

  1. Replies: 2
    Last Post: 01-20-2014, 12:50 PM
  2. Expert Gudance for Form Struture Please
    By buckwheat in forum Access
    Replies: 3
    Last Post: 08-21-2013, 09:14 AM
  3. Replies: 2
    Last Post: 10-09-2012, 03:20 PM
  4. Replies: 2
    Last Post: 12-20-2011, 07:33 AM
  5. Replies: 2
    Last Post: 10-27-2009, 07:09 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