Solved

Junction table with combo box problem

Posted on 2013-12-27
1
749 Views
Last Modified: 2013-12-28
Hi,

I cannot figure out how to create a sub-form with a combo box that works.  My database has a Menu Items table and a Menu Category table.  I've created a junction table and related these other tables to it appropriately.  I have a form called Menu Item Entry that allows the user to edit a particular menu item and then in a sub-form with a combo box, assign all the categories that the menu item can belong to. I can't get this to work correctly.  Any help would be greatly appreciated!

Thanks!
Menu-Database-Sample.accdb
0
Comment
Question by:fargus47
1 Comment
 
LVL 39

Accepted Solution

by:
als315 earned 500 total points
Comment Utility
Try this sample. I've removed PKs from your junction table to allow multiple types for one item and default value for ItemID was added to subform equal ItemId in parent form.
Menu-Database-Sample.accdb
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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

744 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

19 Experts available now in Live!

Get 1:1 Help Now