?
Solved

Junction table with combo box problem

Posted on 2013-12-27
1
Medium Priority
?
779 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:Skip Sleeper
1 Comment
 
LVL 40

Accepted Solution

by:
als315 earned 2000 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

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

Question has a verified solution.

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

If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
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 …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Suggested Courses

830 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