Hi Neil,
Sorry for the delay in getting back to you. I originally thought about doing it this way but had some other considerations that led me to my solution. Your solution is very good, concise and certainly much easier to implement than mine. I appreciate you posting this and I may borrow it for use later! Good job!
Looks like Kevin has offered up a solution for your template question.
Thanks!
Kendall Webb
Senior Software Engineer
MCAD.Net/MCSD.Net