Hi guys. I'm a newbie here.
Here's my question (scenario)..
I have a table in SQL:
JobCode | JobCode_Desc | JobCode_FullDesc | DeptCode | DeptCode_Desc | DeptCode_FullDesc |
380000 | Risk Management Activities | 380000 - Risk Management Activities | 38100 | AMA Business Support | 38100 - AMA Business Support |
380001 | Estimate & Risk Mngmt Procedur | 380002 - Estimate & Risk Mngmt Procedur | 38100 | AMA Business Support | 38100 - AMA Business Support |
380211 | SA 14/052 | 380211 - SA 14/052 | 38940 | Engineering | 38940 - Engineering |
380212 | SA 14/053 | 380212 - SA 14/053 | 38940 | Engineering | 38940 - Engineering |
380300 | Website Development | 380300 - Website Development | 38120 | Stakeholder & Customer Rel | 38120 - Stakeholder & Customer Rel |
380301 | CRM | 380301 - CRM | 38120 | Stakeholder & Customer Rel | 38120 - Stakeholder & Customer Rel |
380800 | IDM Administration | 380800 - IDM Administration | 38110 | Information Management | 38110 - Information Management |
380801 | IDM Management & Communication | 380801 - IDM Management & Communication | 38110 | Information Management | 38110 - Information Management |
Now i want to create a cascading dropdown list from this table. 1st dropdown will be theDeptCode, 2nd dropdown will be the JobCode, and 3rd textfield will be the JobCode_Desc.
If i choose 38100 from DeptCode dropdown list, there should only be 2 available JobCode (380000 and 380001) in JobCode dropdown list. And if i choose 380000 from JobCode dropdown list, it should display the "Risk Management Activities" from JobCode_Desc.
How could I achieve this?
Thank you in advance for the help and guidance.
All the best guys!
Cheers,
Michael