I'm currently using Crsytal XI which does not allow the use of ISNULL within a custom function. Do later versions allow this?
My rather awkward workaround is the following ungainly formula to call the function:
artest({I10TST.CODE},(if isnull({I10TST.DX2}) then ' ' else {I10TST.DX2}), (if isnull({I10TST.DX3}) then ' ' else {I10TST.DX3}), (if isnull({I10TST.DX4}) then ' ' else {I10TST.DX4}),(if isnull({I10TST.DX5}) then ' ' else {I10TST.DX5}) )
My rather awkward workaround is the following ungainly formula to call the function:
artest({I10TST.CODE},(if isnull({I10TST.DX2}) then ' ' else {I10TST.DX2}), (if isnull({I10TST.DX3}) then ' ' else {I10TST.DX3}), (if isnull({I10TST.DX4}) then ' ' else {I10TST.DX4}),(if isnull({I10TST.DX5}) then ' ' else {I10TST.DX5}) )