IF $http://rdr1.U_cartonorpc = 'C'
SELECT ($http://RDR1.U_ctnpcqty.NUMBER*$http://RDR1.U_ctnqty.NUMBER]) END elseselect ($rdr1.U_ctnpcqty)
in addition is there a limit to the number of characters available for user fields, is U_cartonorpc too many characters?
I think you are just missing the Begin before the Else
regarding the UDF Name, i dont know of any limit