The fields are aggregates themselves.
Expand|Select|Wrap|Line Numbers
- Current Units: Sum(([AwardTbl]![AwardUnits]-[AwardTbl]![ForfeitedUnits]-[AwardTbl]![PaidOutUnits]))
I have tried creating a text box in the footer, putting [Current Units] in the Control Source and selected Running Sum Over All and I tried Over Group. Neither summed anything, they only provided me with the value of the last record on the report.
I also tried (in the text box)
Expand|Select|Wrap|Line Numbers
- =Sum([Current Units])
Here is the SQL for the report.
Expand|Select|Wrap|Line Numbers
- SELECT AssociateTbl.AstFirstName,
- AssociateTbl.AstPrefName,
- AssociateTbl.AstLastName,
- Sum(([AwardTbl]![AwardUnits]-[AwardTbl]![ForfeitedUnits]-[AwardTbl]![PaidOutUnits])*[LastOfNetAssetValue]) AS [Current LTIR Value],
- AssociateTbl.EmployeeID, Sum(([AwardTbl]![AwardUnits]-[AwardTbl]![ForfeitedUnits]-[AwardTbl]![PaidOutUnits])) AS [Current Units]
- FROM MaxNAVQry, AssociateTbl
- INNER JOIN AwardTbl ON
- AssociateTbl.EmployeeID = AwardTbl.EmployeeID
- GROUP BY AssociateTbl.AstFirstName, AssociateTbl.AstPrefName, AssociateTbl.AstLastName, AssociateTbl.EmployeeID
- HAVING (((Sum(([AwardTbl]![AwardUnits]-[AwardTbl]![ForfeitedUnits]-[AwardTbl]![PaidOutUnits])*[LastOfNetAssetValue]))>0) AND ((Sum(([AwardTbl]![AwardUnits]-[AwardTbl]![ForfeitedUnits]-[AwardTbl]![PaidOutUnits])))>0));