Solved

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

Posted on 2016-10-24
4
23 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now