For Loop over the items in the dataProvider until you match values. Break, then set selected index to the loop index.
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Rubeel Sent: Monday, April 28, 2008 10:05 AM To: [email protected] Subject: [flexcoders] trying to select a value in combo box based on a query I am running a query and returning some records which contains an ID (table 2) value from Table 1. i am running another query on the same page to select the values from the Table 2 and putting all of it in a combobox. I want to change the combobox selected index value based on the id values i get from the table 1. is there a way of doing this. any help will be great.

