Results 1 to 3 of 3

Thread: How do you referense multiple subjects for example??

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 1999
    Location
    Albany, NY, USA
    Posts
    15

    Post

    Hi,

    Here's what I have.
    I have a list of resources. Each of these fall into at least one subject
    (Art, Biology, Chemistry, etc) Many of these have only 1 subject, however
    all the others have multiple subjects.

    What I want to do is have one table that lists all of the subjects.
    And another table that is the Resource Table and it has a Subject Field
    (which would be tied to the Subjects Table) But I don't know how to do
    this since some of the Resources have multiple subjects. It seems like a
    pretty common thing to happen I just don't know how to go about fixing
    this. Someone told me to just make Yes/No fields for all of my subjects.
    But I have over 40 and for multiple reasons I don't want to have to resort
    to that kind of workaround.
    Can anyone help me out here?
    It seems like I should be able to do
    this and I've looked everywhere to find an answer but have come up blank.

    Thanks in advance.
    --Dan

  2. #2
    Lively Member
    Join Date
    Jan 1999
    Posts
    82

    Post

    Hi,

    Have one table for your subjects (which you are have). This is your master subject table. Then have one table for your resources (if there is a master list). This is your Master Resource Table. Then make another table subject/resource which has one field linked to your subject table, and another field linked to your resource table. The primary key would be these two fields. You are creating a one to many relationship between your resources and subjects.

    Hope this helps,

    Preeti

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 1999
    Location
    Albany, NY, USA
    Posts
    15

    Post

    Great, thanks, I knew it had to be something simple. I had come from it from a different angle and didn't even spot that it was just a classic one to many relationship...d'oh. (:
    Thanks much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width