Quick and dirty:Throw the Values of the Dataset-Field you're interested in at a StringList which is set to sorted and not allow duplicates