Results 1 to 5 of 5
  1. #1
    kennyrogersjr is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2010
    Posts
    18

    What is this called? Terminology needed.

    I have never had the need for this, and I'll do my best to describe this completely off-the-wall thought.

    Let's lay the framework: Database topic - Clothes.

    One can have multiple Shirts, pants, shoes, underwear, etc. You guys know what clothes are ;p.
    One can have different colors for said clothes.


    One can have different quantities, as well.

    What do you call it when a clothing item has multiple colors? For example, a Shirt is both black and white or a shoe is both blue and green.

    In the design process, I would typically create a table for each color and a table for each type of clothing. I'd let the quantities either sit in the customer table or the specific clothing item's table, depending if this was for one or many persons. I'm missing a table join somewhere, and, not to mention, how the record would look. How can a record field have multiple references contained within that record? It can't, based on what I know. Can someone smarter than me let me know what I really want to ask so I can stop arguing with myself?

    Again, I've only been thinking about this-- I ask for the benefit of mankind ;p.

    Cheers!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,526
    Term:1 to many tables.
    1 clothing item has many colors.

    So I see 1 clothing table tItems w fields:
    ItemID : 88502
    Descr : Shirt

    Then 1 Item color table: tItmColor
    ItemID
    Color

    there would be many colors for ITEMID 88502
    [ItemID] [Color]
    88502 red
    88502 black

  3. #3
    kennyrogersjr is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2010
    Posts
    18
    Remember those times when you keep looking at a word and it doesn't look like a word or appears foreign?

    I could swear that it was going to look like:
    [ItemID] [Color]
    88502 red,black

    I definitely knew there was a one-many relationship there, just thought that there was a different term other than WRONG for what was in my head. I should learn to listen to my inner voice...

  4. #4
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,742
    I recommend you work through this tutorial to get a better appreciation of tables and relationships.

  5. #5
    kennyrogersjr is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2010
    Posts
    18
    -.- .

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

Similar Threads

  1. Help needed : Library catalogue in access format is needed
    By dealers in forum Sample Databases
    Replies: 3
    Last Post: 01-16-2014, 02:03 PM
  2. Unload called when opening a form?
    By Kirtap in forum Programming
    Replies: 6
    Last Post: 12-11-2013, 06:23 AM
  3. Replies: 1
    Last Post: 03-20-2013, 02:57 AM
  4. Replies: 4
    Last Post: 08-16-2011, 10:04 AM
  5. Form_Load not being called
    By Buakaw in forum Forms
    Replies: 1
    Last Post: 03-09-2011, 04:46 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