That should do the trick...assuming that you are putting this in the footer of a grouping on the report, so it gives you the sum of commission in that grouping. If you need something else (the sum of all commissions, the sum of all commissions where commselect is 1, etc) let us know, I couldn't tell from the way you described it. Hope that helps.
cheers kevin,
though now im not sure im going bout this the right way!
I am working on a report which displays a list of clients, how much they sold and how much commission they are charged.
The user can choose wether the commission value is treated as a percentage of the total sold or sterling.
In the table is the commission value(gen number) and a field which is either 1 or 2 (1=sterling 2=percent).
When the report is formatted the commission is shown next to the client:
I now need to total the commission. I think I need to total the sterling and the percent separately then add them together.
Can this be done with textboxes or should i be using the reports query?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.