automatically loading values in combo boxes

saleemMSMS

Registered User.
Local time
Today, 21:16
Joined
Aug 12, 2009
Messages
92
i have the following view
attendant type | attendant number | program name |
Shop owners 678 Book Keeping
Farmers 679 cultivation
Players 680 discipline

now, i have 2 combo boxes. what i want is when i select an attendant number from the first combo box, i need the second combo box to automatically get filled by the relevant attendant type.
for example, if the 679 is selected in the first combo box, it should automatically select the type as "Farmers" in the second Combo box,
how can i do this ?
 
You should also normalise your AttendantType and ProgramName data rather than working with the strings.

Also recommend you drop the spaces from your field names.
 

Users who are viewing this thread

Back
Top Bottom