lookup in subform

ERC2

New Member
Joined
Sep 12, 2011
Messages
33
I am designing a data entry form with a subform. In the subform, I have a list box control that has an inherit value list from a lookup table. On the main form I have a combo list that I am using as a record selector that filters the record on the subform. How can I filter the list box with the values from the lookup table by the slection in the combo box of gthe main form as well.

To give this context, In the main form I have a combo box of employees. When I select one, it finds the corresponding supervisor. On the subform everything works well except the look up values are independent of the employee or supervisor. I want it to show only those goals appropriate for the employeed. I can get lots of other things to work on the subform, but not the lookup. I am using the lookup to force the slecection of goals. i do not want people typing whatever they want because we want uniformity with our agreed upon goals. any ideas? Thanks in advance!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,215,419
Messages
6,124,796
Members
449,189
Latest member
kristinh

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