I am about to go bonkers on this one. I have a form with 3 combo boxes.
It is set up so the 1st is auto populated with the departements. second(Jobs) has none, and 3rd has employee names. I have no issues getting the drill down to work from select dept and it populates correct Jobs, select the Job and it repopulates the employee name with the filtered list.
Since the EE list is populated on load I would like to select the employee name and auto populate the correct data in the department and Job.
The employee name box is driven by a 4 column query that produces
ID Name Dept Job
I can get the Dept to populate using the code below but the Job always comes back Null.
Help?
Thanks
-JP
It is set up so the 1st is auto populated with the departements. second(Jobs) has none, and 3rd has employee names. I have no issues getting the drill down to work from select dept and it populates correct Jobs, select the Job and it repopulates the employee name with the filtered list.
Since the EE list is populated on load I would like to select the employee name and auto populate the correct data in the department and Job.
The employee name box is driven by a 4 column query that produces
ID Name Dept Job
I can get the Dept to populate using the code below but the Job always comes back Null.
Help?
Code:
Private Sub cboEEName_Change()
'Populates Dept value correctly
Me.cboDept.Value = Me.cboEEName.Column(2, Me.cboEEName.ListIndex)
'Does not populate.......
Me.cboJob.Value = Me.cboEEName.Column(3, Me.cboEEName.ListIndex)
End Sub
Thanks
-JP