Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Syntax issue with query field in query designer

How should this read?

BuyerCommPending: Sum([HH Sale $ Commission] If [Pending]=True)
0
SteveL13
Asked:
SteveL13
1 Solution
 
Rey Obrero (Capricorn1)Commented:
try this, if [pending] is true, get the sum of field [HH Sale $ Commission]


BuyerCommPending: Sum(IIf([Pending]=True,[HH Sale $ Commission],0))
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now