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