My application attempts to run one of my reports that works correctly in Crystal Reports 2008 and gives me an error of:
Error in formula shipmentID:
'if( isNull( {S0102_ShipmentOrder.S0102_CustLoadNbr} ) ) then
'
Too many arguments have been given to this function.
Details: errorKind
The formula is:
if( isNull( {S0102_ShipmentOrder.S0102_CustLoadNbr} ) ) then
(
"";
)
else
(
if( {S0102_ShipmentOrder.S0102_CustCode} = "2158" ) then
(
"BEST BUY LOAD ID: " + {S0102_ShipmentOrder.S0102_CustLoadNbr} +
" BEST BUY DELIVERY DATE " + cstr({S0102_ShipmentOrder.S0102_DueDate}, "MM/dd/yy");
)
else if( {S0102_ShipmentOrder.S0102_CustCode} = "2159" ) then
(
"SRR " + {S0102_ShipmentOrder.S0102_CustLoadNbr};
)
else if( {S0102_ShipmentOrder.S0102_CustCode} = "16038" ) then
(
"Tour or VAS#: " + {S0102_ShipmentOrder.S0102_CustLoadNbr};
)
else if( {S0102_ShipmentOrder.S0102_CustCode} = "19130" ) then
(
"MBOL#: " + {S0102_ShipmentOrder.S0102_CustLoadNbr};
)
else
(
"CID# " + {S0102_ShipmentOrder.S0102_CustLoadNbr};
)
);
Why am i getting this error when i run this report my application?