Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28

    Help approaching problem - form input of product - send to multiple plant locations

    I apologize I'm quite the beginner here. I'm trying to visualize an approach to this problem. What I have is a table that contains plant info (plants that produce a product not vegetation plants). I also have a table that contains all the fields related to the products themselves. Finally I have a third table that contains the constituent items that make up products (think raw ingredients if you will). I have various junction tables set up to define relationships between all these.



    What I'm trying to do is create a way of inputting a product and having an option on the form to send that product information to multiple plants. I don't know why but I cannot visualize an approach to doing this. Thoughts would be appreciated. Sorry if this is not specific enough I'll happily provide more information.

    Thanks,

    illicited

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Sounds like another manufacturing database question. Frequent topic in forum. Search forum. Recent threads on topic:
    https://www.accessforums.net/access/...elp-33469.html
    https://www.accessforums.net/program...ess-33403.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.

  3. #3
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28
    Thank you I will head over there and check those out. Thank you for the response!

  4. #4
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28
    I don't think those examples are related to what I'm trying to do. And that's probably my fault for not being able to explain and as a result search this problem well enough. I'm designing the form to input a product, the product is made up of many fields. I would like a way to send all of the data under these product fields to separate plants, so a way to copy all the misc. product fields and just change the plant identifier field in the product input form.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Why would you want to duplicate the product data? Just save the product ID.

    I don't understand your data structure. If you want to provide db for analysis, follow instructions at bottom of my post. Indicate the objects involved in issue.
    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.

  6. #6
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28
    I don't understand it either that's the problem. Plants have products, products have constituents. Product ID / Description and some other fields are the same for all plants however the constituents and their amounts will change from plant to plant and from product to product. The database isn't structured right yet or I would post it, I'm still in basic phase. HOWEVER sometimes the constituents do not change from one plant to another, so it would be easy to copy all product/constituent fields to under a new plant ID.

  7. #7
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28
    Here's what I have so far.
    Attached Files Attached Files

  8. #8
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28
    After further searching it looks like I need to have some sort of nest of 3 forms. One main, one with the junction table fields, and one subform.

  9. #9
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Guess what - I work in a materials test lab where I was assigned task of developing the lab database. I see many familiar terms in your project.

    You have PlantID and PlantName as compound primary and foreign keys. Don't think necessary to save both as foreign key in related table.

    Are you building and testing concrete mix designs? Your finished 'product' is a mix blend? Constituents are the component materials for each product? I don't see a table that associates a product with constituents. You have tblPlantProductConstituents. Why do constituents have to be directly associated with plant?
    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.

  10. #10
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28
    Wild coincidence. I work in quality control for a ready mix concrete and asphalt company.

    Basically I'm creating a db to track concrete mix performance mostly. Products would be the mixes, constituents the individual components of the mixes. Constituents don't necessarily have to be associated with a plant unless I plan to keep track of plant inventory of those raw materials later. I'm kind of tinkering to learn, I have many really elaborate spreadsheets that I'd like to centralize. I may be making it to broad just for learning sake.
    Some plants have different constituents for the same product. E.g. the rock source is different so the weights are different but it's the same product.

  11. #11
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    So if a product calls for certain % of #3 coarse aggregate (ConstituentID 3300) would that be the requirement regardless of which plant was blending the product?
    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.

  12. #12
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28
    Yes that's correct. Percentages will stay the same for products across all plants (with rare exception). Weights may be different though because of different densities of #3 rock sources.

  13. #13
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28
    I have the form working as I want it to. But now for a way to copy the product info in the main form and the constituent items and their amounts in the subform to a new plant. Would an Append Query be the solution for this?
    Attached Files Attached Files

  14. #14
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Which form? The db you posted is missing tables the forms depend on. Makes testing difficult.

    You want to associate constituent to plant so as to record the quantity required to meet the product % spec?
    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.

  15. #15
    illicited is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    28
    frmInputProduct should not be missing any dependent tables, it isn't on my end. I only want to associate the amounts of each constituent within each product to each separate plant if that makes sense.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 01-26-2017, 12:49 AM
  2. Replies: 10
    Last Post: 10-06-2012, 12:28 PM
  3. Replies: 1
    Last Post: 06-17-2012, 12:38 AM
  4. Replies: 3
    Last Post: 01-24-2012, 02:44 AM
  5. Replies: 0
    Last Post: 01-26-2011, 05:51 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