Hiya JimB,
Of course, that works too. Certainly it's simpler and more straightforward (and probably more maintainable) than mine. When I see a different solution than one I've thought of, I'm always reminded that what we do is (IMHO) art, and how two people approach a given problem reflects something of who they are.:-)
Regards,
George
Ubi caritas et amor, deus ibi est