Thank you. I do not have the permission for that; I have a txtSearch, a srListbox and rsltForm. I enter the Employee id in the txtSearch and click cmdSearch. The srListbox displays the result. When I click srListbox, that is set as the recordsouce for the rsltForm.
If the search result displays two records with the same eployeeid in the srListbox and if I click any one of them, the both records get highlighted (selected). So I am not able to set the recordsource for the form.
As you said, I changed the listbox property to none or simple or multi, yet when I click the list box, both records get selected.
Thanks again trying to help me. If it is not possible, I will replace the listbox with a subform.