kubeld,

Yes, I know that I veered from my original intention, but I was at a loss as to the most elegant solution.

And then you came along...

Thanks for the idea, and I'll definitely be rewriting my procedure.

Thanks again,