hi,
have been scratching my head about this and cannot get it to work
I have some schools and when they submit their targets I need to show those schools that have not submitted their targets etc,
the ilf statement below works perfectly except for where the field is empty, I have tried Is null / =0 / <1 but it does not show up the right message (KS2 alert Targets Submitted) so it is only the last ilf statement that is falling over..
any pointers?
many thanks
John
*************************
Expr1: IIf([Key Stage Indicator]="KS2 School Only" And [KS2Nor]>0 And [Eng]>0 And [Mat1]>0,"Targets Submitted",IIf([Key Stage Indicator]="KS1 School Only" And [KS1Nor]>0 And [Read]>0 And [Writ]>0 And [Mat]>0,"Targets Submitted",IIf([Key Stage Indicator]="KS1 & KS2 School" And [KS2Nor]>0 And [Eng]>0 And [Mat1]>0,"Targets Submitted",IIf([Key Stage Indicator]="KS1 & KS2 School" And [KS1Nor] Is Null And [Read] Is Null And [Writ] Is Null And [Mat] Is Null And [KS2Nor]>0 And [Eng]>0 And [Mat1]>0,"KS2 alert Targets Submitted","Targets Not Received"))))
have been scratching my head about this and cannot get it to work
I have some schools and when they submit their targets I need to show those schools that have not submitted their targets etc,
the ilf statement below works perfectly except for where the field is empty, I have tried Is null / =0 / <1 but it does not show up the right message (KS2 alert Targets Submitted) so it is only the last ilf statement that is falling over..
any pointers?
many thanks
John
*************************
Expr1: IIf([Key Stage Indicator]="KS2 School Only" And [KS2Nor]>0 And [Eng]>0 And [Mat1]>0,"Targets Submitted",IIf([Key Stage Indicator]="KS1 School Only" And [KS1Nor]>0 And [Read]>0 And [Writ]>0 And [Mat]>0,"Targets Submitted",IIf([Key Stage Indicator]="KS1 & KS2 School" And [KS2Nor]>0 And [Eng]>0 And [Mat1]>0,"Targets Submitted",IIf([Key Stage Indicator]="KS1 & KS2 School" And [KS1Nor] Is Null And [Read] Is Null And [Writ] Is Null And [Mat] Is Null And [KS2Nor]>0 And [Eng]>0 And [Mat1]>0,"KS2 alert Targets Submitted","Targets Not Received"))))