Hi Mart,

Yes I do have the Setoption("Explicit","On") but I never really knew why, just followed the best practice advice on the forum. Thanks for the explanation.

OK this $sNul bit, you say it is used to catch the return code. Does it catch the return code in a log file?