As long as the keypad object has it, you could set some bounds checking in the [blue]OnExit[/blue] procedure. If the entered value doesn't fall within the set limits, show them a message, and then set focus back to the object.
~
“Your request is not unlike your lower intestine: stinky, and loaded with danger.” — Ace Ventura.