>It works beautifully now. Thank you.
You are welcome.
BTW, it is supposed to answer in the same thread, clicking the Reply, rather than create the new thread.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison