I'm having a major brain fart on how to do a simple sum of a column on a report. I tried to figure it out by going into the Northwind database but the solution didn't leap out at me there either.
I have a report that's based on a query. One of the query columns is called LayfTotal, which represents the number of people laid off for each record in the filtered query, but I need to show a report total, too.
I added a text box called txtLayoffTotals to the Report Footer. Now I need to add up the number in each of the LayfTotal fields on the report and display it in txtLayoffTotals.
Do I create a separate column in the query and do the summing there or should it be done right on the report? If so, how?
Thanks in advance.
I have a report that's based on a query. One of the query columns is called LayfTotal, which represents the number of people laid off for each record in the filtered query, but I need to show a report total, too.
I added a text box called txtLayoffTotals to the Report Footer. Now I need to add up the number in each of the LayfTotal fields on the report and display it in txtLayoffTotals.
Do I create a separate column in the query and do the summing there or should it be done right on the report? If so, how?
Thanks in advance.