David Smith

David Smith

  • NA
  • 2k
  • 0

Crystal Reports: Syntax Issue

Nov 26 2015 12:42 AM
I am getting an error below saying that the remaining text does not appear to be apart of the formula. Can someone assist me? I making an assignment
in the Crystal Report IDE
NumberVar DifferentHours;
NumberVar ActualQuantity;

if isnull({color2.numActualQuantity})
THEN ActualQuantity := {color.numActualQuantity}
ELSE ActualQuantity := {color2.numActualQuantity}


if ActualQuantity > 80
THEN DifferentHours := ActualQuantity - 80
ELSE ActualQuantity

Answers (3)