Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help needed for report

Status
Not open for further replies.

phyllisk

Technical User
Jul 23, 2001
11
GB
I have a report that shows commission received for certain Products such as Pensions,Investments etc.
The Products category has then a sub category. For example for Investments, the sub categories are ISA's,PEP's etc.

At the report footer I have sum calculating the total commission received, however, I would to show the total commission received per Product/Product Sub Category.

Could anyone enlighten me on the correct formula?
 
You need to set up a report group based on the sub-category. Go to the groups button (to the right of the hammer and spanner) on the Report design toolbar. Click on the down arrow in the Field/Expression column and select the sub-category field. Then set Group Footer to 'Yes'.

You can then put your text box (eg txtCommissionSubCategory)in this footer so that it appears after each sub-category in the report. The formula would be something like =Sum([txtCommission]), where txtCommission is where the commission for each item is held. The txtCommissionSubCategory box should now display after each subcategory in the report with a total for that subcategory.
(Hope this makes sense).
Have fun! :eek:)

Alex Middleton
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top