Results 1 to 4 of 4
  1. #1
    Pawtang's Avatar
    Pawtang is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Mar 2021
    Posts
    91

    How to create entry form for many-to-many table in recipe DB

    I've tried so many different ways to do this and I can't find a good way to accomplish this.

    My thought is to use the many-to-many intermediary table to relate one product to many ingredients, each with their own properties... Since various products can have the same ingredients.

    I have no idea how to handle the form creation for this scenario! I want to have a form where you can create a new product or pull up an existing product, then have a continuous subform where you can add a list of ingredients and quantities of ingredients related to that product. How would I start this?

    Click image for larger version. 

Name:	Relations.JPG 
Views:	31 
Size:	30.1 KB 
ID:	44993

  2. #2
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,412
    Have a look at this DB. It's for a cupcake bakery. Enter new recipes, Create batches, compute costs, unit measurement conversions, etc.

    CupcakeDB-davegri-V01.zip

    Click image for larger version. 

Name:	newcupcake.png 
Views:	31 
Size:	19.8 KB 
ID:	44995Click image for larger version. 

Name:	cupcakerel.png 
Views:	21 
Size:	51.2 KB 
ID:	44997
    Last edited by davegri; 04-15-2021 at 11:50 AM. Reason: added relationship diag

  3. #3
    Pawtang's Avatar
    Pawtang is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Mar 2021
    Posts
    91
    Quote Originally Posted by davegri View Post
    Have a look at this DB. It's for a cupcake bakery. Enter new recipes, Create batches, compute costs, unit measurement conversions, etc.
    Its adorable too. Thank you!

  4. #4
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,412
    And thank you! The adorable custom color scheme created and applied here:

    Theme Manager for Forms (accessforums.net)

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

Similar Threads

  1. Replies: 6
    Last Post: 10-22-2022, 08:27 AM
  2. Replies: 13
    Last Post: 02-11-2019, 08:54 AM
  3. Replies: 4
    Last Post: 03-27-2018, 03:32 AM
  4. Replies: 3
    Last Post: 06-04-2015, 09:48 AM
  5. Create form for new data entry
    By marcvanderpeet12 in forum Forms
    Replies: 1
    Last Post: 08-08-2013, 07:46 AM

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