H
Hal
I have a report (based on a query) which is filtered by the following
criteria in the OpenReport Method:
strLinkCriteria = "Format([Months], 'mmm yyyy') IN (" & _
Forms!frmPrintSelectMonth!txtCriteria & ")"
The report groups on "Months" with each month having one or more users with
"Personal Charges".
How can I create a total sum of each users "Personal Charges" in the report
footer - grouped on user?
- There may be one or more months in the report.
- There may be one or more users for each month.
I had originally created a subform, but the query behind the report will not
take the filter criteria into account. Here's the SQL for the subreport:
SELECT DISTINCT rptBillingSummaryByMonth.User,
Sum(rptBillingSummaryByMonth.[Personal Charges]) AS [SumOfPersonal Charges]
FROM rptBillingSummaryByMonth
GROUP BY rptBillingSummaryByMonth.User;
criteria in the OpenReport Method:
strLinkCriteria = "Format([Months], 'mmm yyyy') IN (" & _
Forms!frmPrintSelectMonth!txtCriteria & ")"
The report groups on "Months" with each month having one or more users with
"Personal Charges".
How can I create a total sum of each users "Personal Charges" in the report
footer - grouped on user?
- There may be one or more months in the report.
- There may be one or more users for each month.
I had originally created a subform, but the query behind the report will not
take the filter criteria into account. Here's the SQL for the subreport:
SELECT DISTINCT rptBillingSummaryByMonth.User,
Sum(rptBillingSummaryByMonth.[Personal Charges]) AS [SumOfPersonal Charges]
FROM rptBillingSummaryByMonth
GROUP BY rptBillingSummaryByMonth.User;