Easy way:
Put N's in the inputmask...for example, if it is a 5 character field, put:
NNNNN
If you need to allow other characters besides numbers and letters, I can give you another way (involving keypress()).
>Is there an easy and/or hard way to make sure that when the user enters a value in the textbox (on a form) that the value does not contain spaces. I can do an alltrim to leading and trailing, but it's the one's in the middle I need to make sure they don't do.
>
>thanks
>Kirk
Steve Gibson