rileypetty
Programmer
I’m having a difficult time figuring out how to deal with one record out of eight where the amount should not be included in a grand total formula. The records are invoices with a “status” field. In seven records the status is “Approved” and one is “Void”. The amount is a positive amount in all records and I want the detail to print but exclude the single “Void” record from the grand total. I tried;
If {tblInvoiceRecord.Status} = “Void” Then
({tblInvoiceRecord.Amount} = -{tblInvoiceRecord.Amount})
Else
({tblInvoiceRecord.Amount} = +{tblInvoiceRecord.Amount})
But I’m obviously out in left field. Can someone point me in the right direction?
If {tblInvoiceRecord.Status} = “Void” Then
({tblInvoiceRecord.Amount} = -{tblInvoiceRecord.Amount})
Else
({tblInvoiceRecord.Amount} = +{tblInvoiceRecord.Amount})
But I’m obviously out in left field. Can someone point me in the right direction?