Thanks. Ain't it always the way, after banging away for hours making no progress and making this request, the next day I was able to get it all working. I was very tired when I was first working on it and I think I missed one or two things. The plugin is here.