Hey all.
I have a form with three combo boxes on it, and all are linked to their own table -
cboBuilding
cboDepartment
cboArea
Specific areas are linked to departments and the departments are linked to buildings.
What I would like to see is when the user selects Building A, only those departments located in that building are selectable from the Departments dropdown list. Consequently when they select the department, only those areas located in that particular department are selectable from the Area dropdown list.
My problem is that a single department can be found in more than one building, and a single area can be found in more than one department.
It's like when you go on the Net to find out details about cars, you select the make from the first dropdown list (say Chev or Ford), that then loads the info for the model (Nova, Suburban etc for Chev, Mustang, Bronco etc for Ford), then you select the body type from the third dropdown (sedan, wagon, pick-up etc).
The contents of each following dropdown is determined by the preceeding dropdown selection.
I'm failry certain this is attainable, but I've hit a mental brickwall and need some coaxing to get over it.
Thanks for any help/hints/advice offered.
This is a politically correct signature, due to constant whinging about my previous signature.
Long live the fun police.
I have a form with three combo boxes on it, and all are linked to their own table -
cboBuilding
cboDepartment
cboArea
Specific areas are linked to departments and the departments are linked to buildings.
What I would like to see is when the user selects Building A, only those departments located in that building are selectable from the Departments dropdown list. Consequently when they select the department, only those areas located in that particular department are selectable from the Area dropdown list.
My problem is that a single department can be found in more than one building, and a single area can be found in more than one department.
It's like when you go on the Net to find out details about cars, you select the make from the first dropdown list (say Chev or Ford), that then loads the info for the model (Nova, Suburban etc for Chev, Mustang, Bronco etc for Ford), then you select the body type from the third dropdown (sedan, wagon, pick-up etc).
The contents of each following dropdown is determined by the preceeding dropdown selection.
I'm failry certain this is attainable, but I've hit a mental brickwall and need some coaxing to get over it.
Thanks for any help/hints/advice offered.
This is a politically correct signature, due to constant whinging about my previous signature.
Long live the fun police.