I am attempting to write a custom function in Crystal that checks to see if a string is null. If it is null, it returns "" (empty string). If it is not null, it returns the original string. Unfortunately, using IsNull results in "This function cannot be used within a custom function." How can I check for Null in a Custom Function?
My current code is
Function (stringVar strCurrent)
If isnull(strCurrent) then "" else strCurrent