Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to connect tables to select items from adjoining tables

Posted on 2011-03-18
11
Medium Priority
?
243 Views
Last Modified: 2012-05-11
I am creating a Food Menu database,  in Access 2007 with following tables
tblComponent (Bread, Meat, etc)
tblFood
tblMenu
tblMealType (Breakfast, Lunch, Snack)
I have all foods listed in tblFood
and food components in tblComponents

Want to create a menu in tblMenu for example:
On Monday,
for 3 separate meals, Breakfast, Lunch, Snack
Each meal type must have 3 - 4 components chosen, ie: Breakfast, must have bread, fruit, drink.  So when choosing breakfast, 3 components would appear and from there would choose the food or drink.

An example would be:
on Monday would like to choose a bread component that would allow me to pick from this list:
cornbread
biscuits
rolls
muffins
cereal, etc

After selecting the above food would then be able to click another box allowing me to choose a different component for fruit that would list
apples
oranges
strawberries
etc


I am able to connect the entire food table to the tblMenu and choose multiple items there, but not exactly what I am looking for.
The food list can be large, so is there a way to create a small pop-up window to choose from?
0
Comment
Question by:softsupport
[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
  • 6
  • 5
11 Comments
 
LVL 40

Expert Comment

by:als315
ID: 35170467
Can you upload your tables? I think there are not sensitive information.
0
 

Author Comment

by:softsupport
ID: 35182414
Attached tables Menu.accdb
0
 
LVL 40

Expert Comment

by:als315
ID: 35186858
WeekDays only from Monday to Friday?
Do you like to have hystory? Monday with date?
Only one Food for every Component type could be selected (if Olives are presented, could you select also Apples)?
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

Author Comment

by:softsupport
ID: 35190067
Yes, only weekdays, Monday - Friday
Yes, would like history.  These menus will be designed for schools.  Right now are weekly without dates, but will eventually be using dates.  Is it possible to have weekdays now and then use dates later?
More than one Food maybe chosen for each component. So if Olives are presented, you could also select apples)
Thank you
0
 
LVL 40

Expert Comment

by:als315
ID: 35202046
Try this sample as a first step. Menu.zip
0
 

Author Comment

by:softsupport
ID: 35217234
Ok... Great first step.  Any chance to have components next to an ellipse box or command box.  When command box is pressed, then pop up box would list food items to choose from or Access does not work in that manner?  If not, this is fantastic.

If I were to create a report, can the report look like a calendar with food listed in the dates?
0
 
LVL 40

Expert Comment

by:als315
ID: 35221398
When command box is pressed, then pop up box would list food items to choose from
You like to change comboboxes with food items to buttoms? I can't clear undestand your wish. May be you can draw example?
0
 

Author Comment

by:softsupport
ID: 35243570
I will send a drawn example later on today.  Sorry about delay
0
 

Author Comment

by:softsupport
ID: 35280605
Here is the example example of command box option or ellipse
0
 
LVL 40

Accepted Solution

by:
als315 earned 2000 total points
ID: 35306041
May be this is suitable.
Menu.zip
0
 

Author Closing Comment

by:softsupport
ID: 35308965
thank you
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

670 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