I have two subreports that generate two different commisions per invoice (one at the invoice level; the other at the line item level for multiple products within an invoice). I have been able to create shared variables to add the two commissions together in the main report in a section of the detail. This gives me a total commission per invoice.
The sort order of the report is by Sales Rep and then by invoice. I then want to generate a total commission per sales rep for all their respective invoices. I am not able to do this. When I try to create a new function variable that is the sum of the invoice commission total, I get an error saying that the sum/running total variable could not be created.
Any help would be greatly appreciated. I have few hair left!
Susan
The sort order of the report is by Sales Rep and then by invoice. I then want to generate a total commission per sales rep for all their respective invoices. I am not able to do this. When I try to create a new function variable that is the sum of the invoice commission total, I get an error saying that the sum/running total variable could not be created.
Any help would be greatly appreciated. I have few hair left!
Susan