Hi,Thank you for your answers. I managed to get my problem solved using a count method. Thanks Daniel for your answer, i will try to implement it now as it may be a quicker way. Many thanks for your help Faby