If this is your first visit to our forums, welcome!
Thanks Harm, I now return a "Y" or a "N" in the function and got it working. John
Forum Rules