Skip to Content
0
Former Member
Sep 23, 2008 at 06:43 PM

IF ELSEIF Problem

31 Views

Hi, I am trying to do some math in the first IF statement: divide total by 2. When I look at my report the I am seeing the ({@Total}/2). Here is my formula:

If (CurrentDate> {@21Days}) OR (CurrentDate >{@LastMonth})THEN "NOTICE OF TERMINATION OF CHILD CARE CONTRACT FOR NON-PAYMENT OF FEES." + chr(10)"" chr(10)+ "You must pay at least 50% of the total due:" + "({@Total}/2)"

ELSE

If (CurrentDate<{@LastMonth}) THEN "SECOND WEEK NON-PAYMENT/PARTIAL PAYMENT NOTICE"

ELSE

If {tblAROpenDoc.dtmDocDate} in LastFullWeek THEN "FIRST WEEK NON-PAYMENT/PARTIAL PAYMENT NOTICE" ELSE ""

Does anyone know what I should be doing? Thanks.