Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004

    Question Unanswered: Assigning to multipule categories

    Ok guys,
    I'm realitvely new to the whole database development stuff, but I have a very important project to finish using SQL and ASP. I am to design a new links manager for a website.
    Right now I have the following:
    The ability to add a link, and edit it
    The ability to add a category and edit it

    When you go to add a link, a list of categories is provided for you, with checkboxes. What I need to do is figure out how to assign multipule categories to one link.
    I have a Cross-Referencing table with three fields:
    and CatID.

    If you need more clarification, post here and let me know.

    Thanks in Advance,
    Aaron Hawn (

  2. #2
    Join Date
    Jul 2003
    San Antonio, TX
    The table structure you provided is sufficient to answer that question. Can you clarify your issue?
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

  3. #3
    Join Date
    Feb 2004
    In front of the computer
    Provided Answers: 54
    Operative word being think, I think you are asking how to represent multiple relationships using the table schema you've described. One row in the table represents one cross reference from a link to a category. To represent multiple category relationships for a single link, you add multiple rows to the Cross-reference table for that LinkID.


Posting Permissions

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