G
Guest
Hi,
I have built a report that also contains a sub-report.
I am building totals for my report and I have run into something I'm not
quite sure of how to do.
In the subreport it lists an amount field called revision_amt and another
field that displays whether the amt is an Add or Subtract, revision_operator.
Then in the report I have created a total text box where I take some amounts
from the report and add them together.
=[Planned Budget]-Sum([Invoice)]
What I would like to do is add on to this statement either adding or
subracting the revision_amt field from the sub-report. It should do a check
and if the amount is an add then it should add it, if subract then subract it
from =[Planned Budget]-Sum([Invoice)].
I assume It would be some sort of if statement. I tried this and it works
but will always add it and I want it to depend on the operation. =[Planned
Budget]-Sum([Invoice)]+ [Report]![tbl_Budget_revision]!Revision_Amt
Thanks..
I have built a report that also contains a sub-report.
I am building totals for my report and I have run into something I'm not
quite sure of how to do.
In the subreport it lists an amount field called revision_amt and another
field that displays whether the amt is an Add or Subtract, revision_operator.
Then in the report I have created a total text box where I take some amounts
from the report and add them together.
=[Planned Budget]-Sum([Invoice)]
What I would like to do is add on to this statement either adding or
subracting the revision_amt field from the sub-report. It should do a check
and if the amount is an add then it should add it, if subract then subract it
from =[Planned Budget]-Sum([Invoice)].
I assume It would be some sort of if statement. I tried this and it works
but will always add it and I want it to depend on the operation. =[Planned
Budget]-Sum([Invoice)]+ [Report]![tbl_Budget_revision]!Revision_Amt
Thanks..