Greg, Thanks for the reply, you are absolutely correct - and here I am eating humble pie- I am an idiot and did not fully understand the code I was working on. The strvariable should not have been there and that is what was causing the problem. That will teach me to read the whole procedure before I jump to conclusions... ...sorry to have wasted everybodys time with this one.
|