Yes, I got it. thanks I will post the solution when I have time to make it a bit more generic thatn it is now. It works for this particualr solution. Thanks Walter