Hey Guys I have finally cracked it.

I had read all the FAQ's etc and was sure I had the correct code.

However at the end of the day it helps if you are running the correct version of Kixtart.

We were still on V3.61 which I presume does not support Function calls.

I have now downloaded V4.20 and all now works fine.

Thanks again for all your time and effort.

Best Regards

Steve