Skip to content

Query: Qry Sum Total Sponsorship by Principal Project

Type: Select
Has Parameters: No
Has Joins: No
Has Subquery: No

Tables Referenced

  • Principal Project Pillars
  • Entrepreneur
  • Entrepreneur Company Principal Projects

Columns Selected

  • [Principal Project Pillars].[Principal Project ID]
  • Sum(IIf(IsNull([Allocated Amount]),0,[Allocated Amount])+IIf(IsNull([Selection F

Where Clause

((([Entrepreneur Company Principal Projects].[Replacement Status]) Is Null Or ([

SQL

SELECT [Principal Project Pillars].[Principal Project ID], Sum(IIf(IsNull([Allocated Amount]),0,[Allocated Amount])+IIf(IsNull([Selection F FROM [Entrepreneur Company Principal Projects], [Principal Project Pillars] WHERE ((([Entrepreneur Company Principal Projects].[Replacement Status]) Is Null Or ([