G
Guest
I have a main form with two subforms (current month and two previous months)
that run off of three separate queries. The three queries run off of one
date field on a separate form. I am trying to do an If statement that
compares the figures in the main form to the 1st subform. Here is the if
statement:
= IIf ( Forms![Tripwire Step 3-A]![% Payments to Prior Month Charges] <
Forms![Comparison Tripwire-Step 3]![% Payments to Prior Month Charges] ,
"There has been a decrease", "There has been an increase or no change")
This returns nothing. It doesn't even save it in the control source field.
I tried putting the If statement in the respective query but it asked for
the date field several times and put the true statement in each record. The
if statement from the query is below.
Expr1: IIf([% Payments to Prior Month Charges]<[Comparison Tripwire-Step
3]![% Payments to Prior Month Charges],"There has been a decrease","There has
been an increase or no change")
I know this is probably pretty easy but I cannot seem to get it to work.
that run off of three separate queries. The three queries run off of one
date field on a separate form. I am trying to do an If statement that
compares the figures in the main form to the 1st subform. Here is the if
statement:
= IIf ( Forms![Tripwire Step 3-A]![% Payments to Prior Month Charges] <
Forms![Comparison Tripwire-Step 3]![% Payments to Prior Month Charges] ,
"There has been a decrease", "There has been an increase or no change")
This returns nothing. It doesn't even save it in the control source field.
I tried putting the If statement in the respective query but it asked for
the date field several times and put the true statement in each record. The
if statement from the query is below.
Expr1: IIf([% Payments to Prior Month Charges]<[Comparison Tripwire-Step
3]![% Payments to Prior Month Charges],"There has been a decrease","There has
been an increase or no change")
I know this is probably pretty easy but I cannot seem to get it to work.