Combo Box in datasheet to display contents of another field

mikeha_99

Board Regular
Joined
Oct 30, 2006
Messages
108
Greetings,
First I will say I am an Access novice. This is my first project. I have limited database experience with other programs. This project is for color matching in a printing business. It is a color matching request form.

Currently, my database has two tables called "Main" and "Inks" and I have forms for both, with the form for the "Inks" table in "Datasheet" format. The Inks datasheet form is shown inside the Main form (would that be called a sub-form?).

My Inks table includes a field I called "Request ID" which is linked to the Main table's automatically generated ID number. The Main form is the "top level" of the request. The Inks table has multiple records, and they are tied to the Main table's automatic ID.

Customer info such as name, part number, etc. is entered in the Main form. Then, names of colors (red, green, black, etc) are entered in the datasheet for the Inks table, in a column called "Colors"

I have another column in this Inks datasheet I called "Prints Behind" in which I want to list all the entries made in the column called "Colors". They should be listed with a check box, allowing the user to indicate, within a single row, what other colors are printed behind it.

My problem is that I need to limit what is displayed in the "Prints Behind" field of the datasheet to those colors listed for just the current record. Instead, I am getting all colors for all records.

In the Inks datasheet, how do I display the contents of the column called "Colors" in a Combo Box called "Prints Behind" for the current "Main" table record?

Sorry for the length of the description, but hopefully I have explained myself adequately. I appreciate any and all help, and your patience in dealing with a novice :)

Thanks,
Mike
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Sounds interesting to me.

What about something like a make table query so when you click the combo box drop down it remakes the list each time. A make table based on the field ID and the colour field should do this.
 
Upvote 0

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top