Results 1 to 2 of 2
  1. #1
    Alaa Wasfy is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Nov 2011
    Posts
    1

    Categorizing table contents

    I'm working on building a database using access 2010.


    frankly I have a basic experience with access but I'm not doing so bad.
    I've built my DB tables but I'm facing a problem which is, I have "purchase categories" table which contains two fields "CatID" and "Category"

    "CatID" "Category"
    Ra-Ma Raw Materials
    Co-It Consumable Items
    Tools Tools

    and I have another table for all the subcategories, for example..
    I have hundreds of Raw Materials, consumable Items with various types.
    and I've listed all those types in one table.

    "ItemID" "Item"
    RM-001 Metal Sheets
    CO-001 Wilding Supplies
    TL-001 Wrench

    now I want to create my entry form that way, I want to create a combo box gives me the ability to chose the the category that I want for Ex. Raw Materials, and another combo box only shows the items listed for raw materials such as RM-001, same for other categories.. and I want to store these values in the suppliers table.

    looking forward for a positive reply and sorry for the poor English.
    Thank you very much.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,956
    The Items table needs a field for the CategoryID. Then you want to build dependent (cascading) comboboxes. Check out this tutorial 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: 3
    Last Post: 10-24-2011, 08:13 AM
  2. Extract contents of table into one list
    By MikeWaring in forum Queries
    Replies: 17
    Last Post: 01-05-2011, 03:45 PM
  3. Use VBA to copy table contents to the clipboard?
    By Deutz in forum Programming
    Replies: 3
    Last Post: 10-21-2010, 10:59 PM
  4. Distribute table contents evenly
    By arfaha in forum Access
    Replies: 0
    Last Post: 11-14-2009, 02:32 PM
  5. Updating one table with anothers contents
    By munkifisht in forum Access
    Replies: 0
    Last Post: 07-22-2009, 03:22 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