Results 1 to 2 of 2
  1. #1
    IsaacA95 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Aug 2013
    Posts
    1

    Access Assignment


    I'm trying to define the relationships for a small Access database. The information is attached in the PDF. What would the relationship chart look like?
    Attached Files Attached Files

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    You need to explain the relationships. We don't know anything about your project.

    For instance, Students and faculty:
    If one faculty can have many students AND One student can have one faculty
    therefore one to many relationship.

    If one faculty can have many students AND one student can have many faculty
    therefore many to many relationship and need to have a junction table.


    It looks like the related fields are text fields (ex. Student.StdID related to Grade.StdID). While you can do this, it is not recommended because it is slow. It is better to use numeric fields, preferably Long Integers. (% of my tables have an autonumber field as the PK and a long integer as the FK in the related table).
    BTW, an autonumber is just to identify a unique record, it does not have any meaning.

    You have as primary keys (it looks like):
    Faculty.ID
    Grade.ID
    Offer.ID
    Course.ID

    Gets confusing which ID is being used....

    Better would be:
    Faculty.FacultyID
    Grade.GradeID
    Offer.OfferID
    Course.CourseID
    (I would have these as autonumbers)

    Or maybe:
    Faculty.F_ID
    Grade.G_ID
    Offer.O_ID
    Course.C_ID

    Just so there are not a lot of fields in different tables with the same name.

    My convention is to use "_PK" and "_FK" suffixes:
    Student.StdID_PK is related to Grade.StdID_FK



    Sooooo, that is my $0.02

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

Similar Threads

  1. Help Designing a database for a school assignment
    By nl49 in forum Database Design
    Replies: 1
    Last Post: 02-10-2013, 07:18 AM
  2. Vehicle inventory/assignment
    By jzacharias in forum Database Design
    Replies: 2
    Last Post: 10-11-2012, 02:39 PM
  3. Replies: 3
    Last Post: 03-23-2012, 01:38 PM
  4. Not lookup, but assignment
    By ArmyLT in forum Database Design
    Replies: 3
    Last Post: 11-17-2011, 02:35 PM
  5. Project Assignment Database
    By flsticks in forum Access
    Replies: 3
    Last Post: 08-10-2010, 10:54 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