bethabernathy
Programmer
Hi - I am trying to get the syntax to make a calculation on a control in a report.
I am trying to calculate this:
If a product sale is "RFND" then the product amount is negative currency, if the product sale is anything other than "RFND" the product amount is positive currency.
So this is where I am at:
IIf([passstat]="RFND", [pmt_amt]=*-1, [pmt_amt])
But I am getting a syntax error with this. Is this possible to do?
Thanks, Beth
I am trying to calculate this:
If a product sale is "RFND" then the product amount is negative currency, if the product sale is anything other than "RFND" the product amount is positive currency.
So this is where I am at:
IIf([passstat]="RFND", [pmt_amt]=*-1, [pmt_amt])
But I am getting a syntax error with this. Is this possible to do?
Thanks, Beth