*Combo.lostfocus With thisform If ascan(.myArray,this.DisplayValue)=0 Dimension .myArray[alen(.myArray)+1] .myArray[alen(.myArray)]=this.DisplayValue This.NumberOfElements = alen(.myArray) Endif EndwithActually I prefer another alternative. I almost all the time use SQL as rowsource and add to my cursor.