camerontaylor
New member
- Local time
- Today, 04:33
- Joined
- May 11, 2021
- Messages
- 29
Hi, I'm having some troubles with a combo box on a form. I want to be able to select an employee from the combo box list, and then open a new form which will display all projects which this employee is associated with (I have a table which keeps track of projects and lead employee on the project). I have the form set up, but the combo box is being strange.
I have the control source set to the ProjectLead field in my ProjectList table (this is a categories field, with a list of current employees). The row source type is set to value list, and the row source has a list of "Employee 1";"Employee 2"; etc. However, when I open the form in form view, the combo box only displays three of six employees in the list.
As well, I cannot work out how to get the button to open the form based on what combo box selection is made. I'd like to also be able to check that there is a selection made in the combo box, and throw a MsgBox if there isn't.
Any help is greatly appreciated!
I have the control source set to the ProjectLead field in my ProjectList table (this is a categories field, with a list of current employees). The row source type is set to value list, and the row source has a list of "Employee 1";"Employee 2"; etc. However, when I open the form in form view, the combo box only displays three of six employees in the list.
As well, I cannot work out how to get the button to open the form based on what combo box selection is made. I'd like to also be able to check that there is a selection made in the combo box, and throw a MsgBox if there isn't.
Any help is greatly appreciated!