Results 1 to 4 of 4
  1. #1
    KatBaroo is offline Novice
    Windows 10 Office 365
    Join Date
    Oct 2021
    Location
    Brisbane
    Posts
    16

    Query to list components after product ordered (repost)

    Hi,



    after trying to get an answer previously - which led me in different direction with the database, I reworked the database and found the comments really helpful.

    Now I am back with the same problem:
    My database deals with components (Items) and products (sub units). Each item can be ordered individually. Each sub unit can be order. And someone can order combination of both.

    Each subunit is made up of items - varying quantities.

    I have set up 1 table for the ordering of items and 1 for the ordering of sub units.

    Now I need to get the subunits listed as a) sub unit with quantitiy of the individual items.

    I have a table for the components in the subunit (tbl_SUComponents) but are not successful in listing the items based on the quote. I have tried in qryQuoteSubUnitItems but regardless of which way I set the joint it just won't work.

    Sorry, I am only basic in sql as in following instructions.

    I have the database attached for anyone wanting to check it out.

    Thank you to everyone for looking at the post and trying to help me.

    Katbaroo - Saving yakking Yaks
    Orderbook - Forum Query 2021.12.20.zip

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Assembly/manufacturing (along with family tree) are the most difficult type db to build. It's because it can involve recursive relationships which Access doesn't handle well.

    Common topic of numerous forums and many examples have been posted.
    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.

  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,725
    Further to June's advice, you may find some guidance by researching hierarchies. You may also find reading posts/threads on assemblies/kits and parts.
    Here is a link that may offer some insight. Another

  4. #4
    KatBaroo is offline Novice
    Windows 10 Office 365
    Join Date
    Oct 2021
    Location
    Brisbane
    Posts
    16
    Thank you to everyone who replied - I hope you had a good time over the holidays. I apologise for the delay but the Christmas rush just got totally mad.

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

Similar Threads

  1. Replies: 6
    Last Post: 02-28-2015, 11:57 AM
  2. List with product
    By Pasca in forum Database Design
    Replies: 6
    Last Post: 08-22-2014, 04:46 AM
  3. set a list table for each product
    By mike02 in forum Access
    Replies: 1
    Last Post: 07-23-2013, 01:27 PM
  4. Replies: 1
    Last Post: 01-10-2013, 06:44 PM
  5. Query Based On Date Ordered
    By dr_destructo in forum Queries
    Replies: 2
    Last Post: 07-15-2010, 03:34 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