I've seen many times when this would be useful. The sort command should be able to specify "unique" s an argument This would be far faster than looping through the data -- Dr. Richard E. Hawkins, Esq. (702) 508-8462