I am trying to display a series of totals in a report footer which are made up of calculated fields in a query
DtMinBreak: IIf([Reason]="Break",[DownTimeMins],"")
The query runs correctly and when I view it the relevant data is there for each row.
Therefore I thought it would be a simple matter of summing each column and displaying the result at the end of a report.
=Sum([qryProductionDetails]![DtMinBreak])
I have put this formula in a text box in the report footer and then repeated the process for each of the [Reason] entries. Ending up with 10 labelled text boxes which I thought would calculate the total [DownTimeMins] for each [Reason] however what actually happens is that [DownTimeMins] for the first entry in my data set that makes up the report is returned in the appropriate text box but that’s it!
I am banging my head against a brick wall can anybody help?
Regards
Adrian
DtMinBreak: IIf([Reason]="Break",[DownTimeMins],"")
The query runs correctly and when I view it the relevant data is there for each row.
Therefore I thought it would be a simple matter of summing each column and displaying the result at the end of a report.
=Sum([qryProductionDetails]![DtMinBreak])
I have put this formula in a text box in the report footer and then repeated the process for each of the [Reason] entries. Ending up with 10 labelled text boxes which I thought would calculate the total [DownTimeMins] for each [Reason] however what actually happens is that [DownTimeMins] for the first entry in my data set that makes up the report is returned in the appropriate text box but that’s it!
I am banging my head against a brick wall can anybody help?
Regards
Adrian