Results 1 to 3 of 3
  1. #1
    Stephanie53 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    246

    How to process a assembly of parts together..

    Ok since my previous post https://www.accessforums.net/access/...elp-33469.html of Primary and Subparts seemed to have stumped alot of people lets try it this way...

    I have a spreadsheet that has a break down of main part and the subparts that goes with each of them



    Here is what I want to do:

    I want to create a ComboBox that when select the Main part then it will autofill and/or give option to choose the subpart (might be more then one subpart pending the size of connections on the end) that belongs with the Main part.

    Now here is my question:

    Do I create a Table with all the Main Parts and then create a Table with all the subparts?
    and if so...How can I tell it to go to the line item its needed for the Main part?

    HELP!! I am starting to stress out on this delima!!
    Last edited by June7; 03-20-2013 at 01:14 PM. Reason: add reference to related thread

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    You are looking to create cascading combo boxes. Here is a link to how to do it.

    http://www.fontstuff.com/access/acctut10.htm

  3. #3
    Rawb is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    I would recommend a two-table setup.

    Parts Table:
    PartID - The unique ID associated with a part. Used by the other Table for listing sub-parts. Autonumber, PrimaryKey
    PartName - A text name for the part so a human can identify it. Text

    PartAssemblies Table:
    PAParentID - The PartID of the "parent" part. Long Integer
    PAChildID - The PartID of the subpart(s) that go into making the parent part. Long Integer

    You include every part (both parent and sub-parts) in the Parts Table. Then, for each one that has subparts, you create an entry in the PartAssemblies Table. For example, let's say you have Part A which is made by combining Part B and Part C.

    Parts Table
    PartID
    PartName
    1 Part A
    2 Part B
    3 Part C

    PartAssemblies Table
    PAParentID
    PAChildID
    1 2
    1 3

    This shows that both Part B and Part C are subparts of Part A.

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

Similar Threads

  1. Help with Normalisation Process
    By supermessiah in forum Database Design
    Replies: 2
    Last Post: 02-26-2013, 12:36 PM
  2. Replies: 3
    Last Post: 08-02-2012, 11:37 AM
  3. Need help to simplify this process
    By shanea.kr in forum Access
    Replies: 1
    Last Post: 07-10-2012, 01:40 PM
  4. Efficient Process?
    By compooper in forum Database Design
    Replies: 1
    Last Post: 06-14-2011, 03:01 PM
  5. field parts
    By DavidAlan in forum Queries
    Replies: 3
    Last Post: 09-07-2010, 01:36 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