Results 1 to 2 of 2
  1. #1
    wes228 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    10

    How to establish and/or relationships within a table?

    I have a table of courses our university offers along with what restrictions are placed on them. The table has the Course ID as the primary key, and then the field is Restriction. For the sake of the example, I'll use the course names instead of their ID #s:



    Course Name Restriction
    Acting II Acting I
    Acting II Fundamentals of Acting
    Acting II No Freshmen

    How can I incorporate the following logic into this table:

    You must take either Acting I OR Fundamentals of Acting before taking Acting II AND you must not be a freshman.


    NOTE That this table is in a "one to many" relationship with the course inventory table. One course may be associated with many restrictions.

  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,930
    The 'relationship' is established between these tables on the CourseID fields. Use VBA code to validate user selection of a course. Can also use queries and code to limit user choices presented in combobox lists. Review http://datapigtechnologies.com/flash...combobox2.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.

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

Similar Threads

  1. Replies: 13
    Last Post: 04-20-2012, 05:47 AM
  2. Table Relationships
    By carrod65 in forum Database Design
    Replies: 15
    Last Post: 04-04-2012, 09:22 AM
  3. Table Relationships
    By ledbyrain in forum Access
    Replies: 1
    Last Post: 09-07-2010, 05:05 PM
  4. Plz help Table Relationships
    By heominhon127 in forum Database Design
    Replies: 6
    Last Post: 09-06-2010, 01:36 PM
  5. Table Relationships
    By goestejs in forum Database Design
    Replies: 3
    Last Post: 08-23-2010, 07:39 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