• I did get an error applying to a nullable column. (LEN=0; Error was "TOP clause contains an invalid value.") Because I'm in a hurry I just threw a case statement around the function call but a clause in the function to work around that would be a nice enhancement.

    😎 Kate The Great :w00t:
    If you don't have time to do it right the first time, where will you find time to do it again?