Solved

Junction table with combo box problem

Posted on 2013-12-27
1
752 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
ID: 39743184
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
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, when working with VBA, learn some techniques for writing readable and easily maintained code.

862 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