This is in a txtbox ResultPromote in the detail section of a REPORT
=IIf([total subjects]<7,"U",IIf(([IsiXhosa Home Language]>=40 Or [English Home Language]>=40 Or [Afrikaans Home Language]>=40) And [AmountSubjectsFail]<2,"P","NP"))
I need to count each of the conditions. These are placed in my footer section
I placed these in txtboxes respectively.
txtTotalP:
=Sum(IIf([ResultPromote ]="P",1,0))
txtTotalNP:
=Sum(IIf([ResultPromote ]="NP",1,0))
txtTotalU:
=Sum(IIf([ResultPromote ]="U",1,0))
When I run my report the dialog pops up enter value parameter ResultPromote.
=IIf([total subjects]<7,"U",IIf(([IsiXhosa Home Language]>=40 Or [English Home Language]>=40 Or [Afrikaans Home Language]>=40) And [AmountSubjectsFail]<2,"P","NP"))
I need to count each of the conditions. These are placed in my footer section
I placed these in txtboxes respectively.
txtTotalP:
=Sum(IIf([ResultPromote ]="P",1,0))
txtTotalNP:
=Sum(IIf([ResultPromote ]="NP",1,0))
txtTotalU:
=Sum(IIf([ResultPromote ]="U",1,0))
When I run my report the dialog pops up enter value parameter ResultPromote.