Sorry it had to get to that but its probably the most efficient solution.
As David said, learning is good and I certainly did while working on your thread.