On an unbound text field I am trying to define a catagory based on the value of another field. for example, if the value of field [step7totpri]is between 7 and 24, then its catagory is "1, Mild".
I can not get this expression to work:
=IIf([step7totpri]>=7 And <=24,"1, Mild"," ") & IIf([step7totpri]>=25 And <=42,"2, Moderate"," ") & IIf([step7totpri]>=43 And <=60,"3, Moderately Severe"," ") & IIf([step7totpri]>=61,"4, Severe"," ")
Any ideas?
I can not get this expression to work:
=IIf([step7totpri]>=7 And <=24,"1, Mild"," ") & IIf([step7totpri]>=25 And <=42,"2, Moderate"," ") & IIf([step7totpri]>=43 And <=60,"3, Moderately Severe"," ") & IIf([step7totpri]>=61,"4, Severe"," ")
Any ideas?