Results 1 to 2 of 2
  1. #1
    Alfihar is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2012
    Posts
    1

    Using a table of 'Categories' to specify which table to reference in a junction

    Heres the scenario

    I have one table for Borrowers with personal details

    I have three tables (one for each category of item) called Books, Videos and CDs. These each have different types of fields. I want to be able to add further categories later (adding more tables)

    One Borrower can have multiple Items.
    One Item can have multiple Borrowers (weird I know but needed).
    I would also like to specify a category and display all the Borrowers that have a Item of that category.

    I want to be able to search an Item and see which Borrowers are associated with it and vice versa.



    How do I go about making a Junction between a Borrower and a Record from one of the item tables based on category?

    I figured a table of 'categories' would be needed but im not sure how to link it all up.

    Thanks

  2. #2
    jzwp11 is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    I have three tables (one for each category of item) called Books, Videos and CDs. These each have different types of fields. I want to be able to add further categories later (adding more tables)
    All items that are to be borrowed should be in the same table, you can have a field that distinguishes them by type. Now as to the different types of fields, can you provide more details on these fields? Perhaps we can generalize them and work them into the 1 table.

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

Similar Threads

  1. How to use Junction Table to populate DB
    By Sorbz62 in forum Forms
    Replies: 1
    Last Post: 10-02-2011, 05:45 PM
  2. Updating a Junction Table
    By oleBucky in forum Forms
    Replies: 4
    Last Post: 04-05-2011, 04:59 PM
  3. Junction Table
    By mae3n in forum Database Design
    Replies: 2
    Last Post: 01-15-2011, 10:23 PM
  4. Replies: 2
    Last Post: 02-28-2010, 06:52 PM
  5. Replies: 0
    Last Post: 08-01-2009, 12:43 PM

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