Sum in report Problem

naungsai

Abecedarian
Local time
Tomorrow, 00:07
Joined
Sep 8, 2008
Messages
123
Dear Friends

I am facing proble with Calculation (sum) in report.

Please check my attached file. I want to run sum of some fields in the report.

Thanks in advance
 

Attachments

You have three reports.

Which one is causing you a problem and what have you done so far to solve the problem.

Please explain.
 
You have three reports.

Which one is causing you a problem and what have you done so far to solve the problem.

Please explain.
Among these 3 reports, "PartI", "DSAsubreport" and "PartIIsubreport". "PartI" is the main and the others are subreports.
If you check the subreports, I tried to find the sum of some varriable which does not work.

Thanks
 
You have three reports.

Which one is causing you a problem and what have you done so far to solve the problem.

Please explain.

Thanks for your interest.
Among these 3 reports, "PartI", "DSAsubreport" and "PartIIsubreport". "PartI" is the main and the others are subreports.
If you check the subreports, I tried to find the sum of some varriable which does not work.

I have reattached the file which I have modified some variables.

Thanks
 

Attachments

In your sub report place your control in the report footer not on the page footer.
 
I did some more lookings.

The Function "Sum" will not Sum a Control on a Form or a Report. It will only Sum a Field from a Table or Query. So when you use =Sum([rptTerminalAllowed]) this will not work as this is a control on your Report. Sum([TerminalAllowed]) will work because TerminalAllowed is a Field in your Query.

Then to refer to this summed value from the Main report have a look at this link. http://www.mvps.org/access/forms/frm0031.htm

Hope this helps
 
Welcome

Glad to hear you got it working.
 

Users who are viewing this thread

Back
Top Bottom