Hi Terry
Thanks for responding.
>It would help if we knew what data type THISFORM.ReplaceCodes(THIS.VALUE) is supposed to return.
Sorry, I was unclear in my writing, actually I return a string, all this function does is a lot of STRTRAN() on this memo text and returns the value, so like <*SRNO*> there are also Names and addresses which are replaced.