passing data from one combobox to another combobox
i have a database that has two fields i.e name and class. in the form i have two combobox, in one combobox i select class and i want all the names listed on another combobox according to the class selected from first combobox which is already in database.
how can i do this?