Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

cascade combo boxes

$
0
0
Hi, Im new here, and I was wondering if this sound logical to you guys.

Im creating a DB to store employees. I have a tblEmpleados with the employees info. Another table called tblDepartamentos to store de Departmens that employee belongs to. And another table, tblAreas where is stored the area of that department that the employee belongs to. On the form I have a lookup cbo that tells me all the departments, and another combo that show only the areas for that department. And that works fine. Now the thing is that I want to set the cboareas.enable=false when there is no area for that department. Example

Mr. Perez works at the Academic Department in the Area of Registry. (Everything fine here)

mr. Smith work at the Maintanence Department wich have no areas. (here when the user select Maintenence Dept, the cboAreas, should not be enable)...

Does that make any sense??? besides that is working perfectly

Viewing all articles
Browse latest Browse all 13329

Trending Articles