DO CASE CASE INT(VAL(This.Value)) <> VAL(This.Value) * Problem somehow got a decimal point it there CASE VAL(This.Value) < 0 * Problem negative number CASE LEN(ALLTRIM(This.Value)) < 5 * Problem didn't fill the field ENDCASEThey user can't make teh field more than 5 chars because of the InputMask, they cannot enter non-digit characters for the same reason, so the only things you need to check on are in the case list.