Hello As I guessed, there is more than one way to do it. Rons solution is similiar to mine, the one Markus posted is similiar to the other I mentioned before. Anyway. Both of you did it shorter. Thank you for your contributions That gives me some more inspiration. bye Enno