I am trying to do a nested if statement. Here it is:
if cvrSaveFaceValue = {View_PaymentRpt.Po_FaceValue} then
(
if Grp3BalanceDue > 0 then
Grp3BalanceDue := Grp3BalanceDue - ({View_PaymentRpt.Po_FeeSchedule}-BalanceDue);
else
Grp3BalanceDue := BalanceDue;
)
else
(
cvrSaveFaceValue := {View_PaymentRpt.Po_FaceValue};
Grp3BalanceDue = Grp3BalanceDue +
{@BalDue};
);
Does anyone know what is wrong with it?
It gives me an error of "The ) is missing." and highlights the first else statement.