many thanks i had tried the listview1.listitems but didn't go for a further . that would have done it