• Thank you Orlando - probably ignorance on my part (to answer your question).

    I'm calling this from inside a maintence plan package. I will refactor and see if it works.

    Thanks for the correction etc.

    J.