Given the sql statement:
rptSQL = "SELECT [tbIntervention].[loc], " & _
"Count([tbIntervention].[loc]) AS [Number], " & _
"Count([tbIntervention].[loc])/" & _
"(Select Count([tbIntervention].[loc]) " & _
"FROM tbIntervention WHERE " & _
dateSQL & " AND " & cboSQL & ") AS [percent] " & _
"FROM tbIntervention "
The report has a loc group, number and percent fields in detail, and sum(number) and sum(percent) in report footer.
What does the error mean?
rptSQL = "SELECT [tbIntervention].[loc], " & _
"Count([tbIntervention].[loc]) AS [Number], " & _
"Count([tbIntervention].[loc])/" & _
"(Select Count([tbIntervention].[loc]) " & _
"FROM tbIntervention WHERE " & _
dateSQL & " AND " & cboSQL & ") AS [percent] " & _
"FROM tbIntervention "
The report has a loc group, number and percent fields in detail, and sum(number) and sum(percent) in report footer.
What does the error mean?