Results 1 to 5 of 5
  1. #1
    Newbie11 is offline Advanced Beginner
    Windows 2K Access 2003
    Join Date
    Dec 2011
    Posts
    41

    Table Query


    I have a table that has severl different courses a student can take. Each is identified by an auto id. I also have a student table that lists each indidual student. What I would like to be able to do is create a status query that identifies where each student currently at, this can include a course from the course list or the status of graduated or withdrew. How can i create a table or query that combines all the courses and the graudated and withdrew statuses into a single field list?

  2. #2
    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,848
    First you have to write down the details so we can understand your situation.
    Code:
    A student may be in school or not.
    if in school then he/she will be in a course
    if not in school he/she may have graduated or
                          he/she may have withdrawn
    A course is contained in a List of Courses
    Do these make any sense? Should they be adjusted?

  3. #3
    Newbie11 is offline Advanced Beginner
    Windows 2K Access 2003
    Join Date
    Dec 2011
    Posts
    41
    That is exaclty right. Sorry I didn't include that. Even if the student is or isn't enrolled I want to include their status (course name or othwerwise) in a single field. I'm not sure if need another table with withdrawn, graudated and then merge these two together someway?

  4. #4
    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,848
    I think these tables and attributes would be appropriate


    Student
    StudentId PK
    StudentName
    StudentAddress

    StudentCourse
    EnrollmentId PK
    StudentId FK to Student
    CourseId FK to Course
    EnrollmentDate
    StatusId FK to StatusCodes

    Course
    CourseId PK
    CourseName
    OtherCourseInfo


    StatusCodes
    StatusId PK
    StatusName


    StatusCode Values (Enrolled, Withdrew, Graduated)

  5. #5
    Newbie11 is offline Advanced Beginner
    Windows 2K Access 2003
    Join Date
    Dec 2011
    Posts
    41
    Thanks! That makes things a lot clearer.

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

Similar Threads

  1. Replies: 2
    Last Post: 12-20-2011, 07:33 AM
  2. Replies: 1
    Last Post: 12-16-2011, 08:16 AM
  3. Replies: 3
    Last Post: 08-16-2011, 02:20 PM
  4. Replies: 0
    Last Post: 02-24-2010, 12:56 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