Is it possible to shorten code like this..?
Instead of saying all this:
Code: Select all
if field "lastNum1" > 18 and field "lastNum1" <37 and field "lastNum2" > 18 and field "lastNum2" <37 and field "lastNum3" > 18 and field "lastNum3" <37 and field "lastNum4" > 18 and field "lastNum4" <37 and field "lastNum5" > 18 and field "lastNum5" <37 and field "lastNum6" > 18 and field "lastNum6" <37 then put "High" into field "fldOut"
Code: Select all
if field "lastNum1" to field "lastNum6" = > 18 but < 37 then put "High" into field "fldOut"
Thanks