title: IIF statement with multiple conditions
body: <p>Consent: </p>
  
  <pre><code>IIf([consents].[decision]=1,"grant",
      IIf([consents].[allowbreaktheglass]=0,"deny""Default"),
      IIf([consents].[AllowBreakTheGlass]=1 AND [consents].[Decision]=0,"emergency only"))
  </code></pre>
  
  <p><code>IIF</code> statement is returning an error: </p>
  
  <blockquote>
    <p>The expression you entered has a function containing the wrong number of arguments</p>
  </blockquote>
  
  <p>Criteria for consents are Grant, Deny and Emergency only. </p>