Displaying the selected Items In the form

Hi All

I have the form with two fields EmpName and EmpId. If user selects any EmpName That name should be displayed in the combobox.

Please help me…

Thank You…

Can you explain a little bit more? I am not sure I follow you, where is the combobox?

combobox also in the form only…

Set Auto declaration property of the EMpName and Combobox to “Yes”

Override the datasource active method and write the below code.

public void selectionChanged()

{

super();

ComboBox.clear();

ComboBox.add(EmpName.text());

}

Thank u Anand…