Solved

Best way to create a 3 deep master/child Access form

Posted on 2016-10-24
4
53 Views
Last Modified: 2016-10-24
How do I create a 3 deep master/child form?

Background:
I haven't used Access for years, I am using Windows 10 and Access 2016.  I have a new small business making paper flower bouquets.

What I want to achieve:
Create a form that displays Product(bouquets) info, listing the product items(flowers) and paper items(paper used in creating the flowers).  I want to be able to add Flowers (from tblFlowers) to the Product(The flower info can be read only) and add Paper items to the flowers, need to be able to edit and save that.  

1 Product to many Flowers
1 Flower to many Paper Items

My Question:
What do I have to do to create this 3 deep master/child form?  (I will look into the "how to do it" if someone can get me started by guiding me with what I need to do.)  There seem to be many ways to achieve this and I don't know which is most suitable to my needs and (rusty!) knowledge.

Hope it makes sense,
Thank you :)
0
Comment
Question by:Marie Floury
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
Eric Sherman earned 500 total points
ID: 41857380
If you are using Access 2001 or later ... you should be able to create Nested Subforms or a subform within a subform.

Create subFrmFlower with the FlowerID as the Parent field linked to the FlowerID field in the Paper Items table.  Next create your main form frmProduct with the ProductID as the Parent field linked to the ProductID on the subform subFrmFlower.  Use a Combo Box to navigate the main form and move the record pointer accordingly.

ET
0
 

Author Comment

by:Marie Floury
ID: 41857683
Hi Eric,

Thank you for your help.  I have followed the steps and it is working :) The only problem I have is that I need to see a list of all the flowers that are part of a product at once (don't want to click on "next record" buttons to see them one by one).  Is there a way to show the flowers in a listbox and when I select one it shows the paper items?
0
 

Author Comment

by:Marie Floury
ID: 41857714
Hello again!  I have worked out how to do it... I created a query to populate the list box and linked that to the subform.

Thank you for your help :)
0
 
LVL 19

Expert Comment

by:Eric Sherman
ID: 41857760
Ok, thanks for the points ...  Also, you could use Data Sheet views for your Sub Forms.

ET
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question