Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2021
    Posts
    5

    Multiple Items with Qty into a list from a single record.


    I'm am trying to take a single record that has multiple items with quantities and turn it into a material list. The ultimate purpose would be to take all items and quantities from all the records and turn the items into a material list with prices that could be adjusted from the the query.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,522
    youd need to give us an example. we cant guess.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Your objective is to move
    FROM- single record that has multiple items with quantities
    TO -multiple records that has single item with quantity

    As ranman says -- some sample data would help focus the advice.

  4. #4
    Join Date
    Apr 2017
    Posts
    1,679
    As start point you need a table of items, like:
    tblItems: ItemID, [ItemCode], ItemType, ItemName, ..., ItemStatus;
    (where ItemID is autonumeric Primary Key, ItemCode is an optional indexed code field you can have when you feel you need it, ItemType will probably classify items as purchased, or produced, etc., ItemStatus will classify items as normal, or obsolete, etc.)

    Simplest step from there will be the next table like:
    tblProductComponents: ProductComponentID, ProductID, ComponentID, ComponentQty;
    (ProductID and ComponentID are foreign keys linked to ItemID in tblItems. This table will list all components needed to produce a single unit of product.)
    This allows you to calculate quantities of all components to produce a single unit of product, or same quantities of components to produce any amount of products. And when you have item prices registered either in tblItems (in case those prices never change), or in separate tblItemPrices table where the history of all prices for items along with date the price was due, is registered, then you can also get the cost of all components for single product or any amount of them.

    More advanced step will be using a BOM list instead of simple components list. A BOM list is a table, where the all components needed to produce the product are listed in structured way - a row for every component and its quantity used in specific step of production process. Often this means you have to register sub-components produced in process and used in next production steps later, as items too - probably adding a specific ItemType for them (assumed those sub-components are never sold - when they are, you better mark them as produced items).

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

Similar Threads

  1. Replies: 3
    Last Post: 04-04-2018, 05:24 PM
  2. Replies: 1
    Last Post: 10-08-2017, 09:59 AM
  3. Display List of Items Instead of Single Item
    By elmousa68 in forum Forms
    Replies: 3
    Last Post: 01-23-2017, 08:49 AM
  4. Replies: 1
    Last Post: 06-01-2016, 10:14 AM
  5. Replies: 7
    Last Post: 06-20-2013, 12:09 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