A
Alex
I've got 3 tables, a main table which stores the values entered into the
form, and 2 smaller tables [employees and functions], which provide a range
values for input.
Employee has the following fields ID[auto], name[text], active[Y/N] and
Department_Code[Number]
Functions has ID[auto], Functionname[text], Department_Code[Number]
Each employee only has one Department_Code, but a Department_Code might be
assigned to more than one Functionname
A first combo box queries the employees table and fills it based on whether
or not an employee is active.
I want to fill a second combo box with only the functions from a specific
department code, of which the person selected in the first combo box is a
member.
I'm guessing that the first combo box should have an On Change event that
updates the 2nd combo box, but how do I query the right values and get them
put into that 2nd combo box?
form, and 2 smaller tables [employees and functions], which provide a range
values for input.
Employee has the following fields ID[auto], name[text], active[Y/N] and
Department_Code[Number]
Functions has ID[auto], Functionname[text], Department_Code[Number]
Each employee only has one Department_Code, but a Department_Code might be
assigned to more than one Functionname
A first combo box queries the employees table and fills it based on whether
or not an employee is active.
I want to fill a second combo box with only the functions from a specific
department code, of which the person selected in the first combo box is a
member.
I'm guessing that the first combo box should have an On Change event that
updates the 2nd combo box, but how do I query the right values and get them
put into that 2nd combo box?