Lars: > Well, I don't know if this syntax is very intuitive but a working > solution is better then reinventing the wheel, IMO. I agree. Neil. -- Neil Aggarwal, President & CEO JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com Custom Programming in Java, C++, HTML, perl