Devin- Another controversial one: Use a single exit point from a handler or (especially) function. It's much easier to debug and your code will be easier to maintain. -- Mark Wieder mwieder at ahsoftware.net