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!

Can not get sum total in my report 1

Status
Not open for further replies.

allong

Technical User
May 2, 2003
40
US
I need a total in my report. I created a text box in the detail section. In the control source I put =IIf([SumOfHours]>40, [SumOfHours]-40,0), this gives me what I need in the detail section. I want to sum the total of that text box. In the group footer I put =Sum([Overtime]). It returns "0". Can anyone help me with this problem.
 
Use
=Sum(IIf([SumOfHours]>40, [SumOfHours]-40,0))

You can't calculate a calculated textbox in a Report. You have to do the whole calculation again.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top