?
Solved

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

Posted on 2016-10-24
4
Medium Priority
?
59 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

770 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