>>Nadya,
>>
>>First, you can set the Format of your editbox to 9 and the Maxlength to 5 and use the same code I sent you. If you would look you would see that.
>>
>>Secondly, why an editbox for a 5 character value?
>
>She wants a set of 5 character values. I think she should replace the editbox with a control consisting of a grid linked to an updatable cursor and coordinated with insert and delete buttons. This would allow her to easily control the format of the input. Something like this was already recomended but, she is fond of the editbox and does not want to give it up.
Exactly. She claims that any change from using an editbox for this will cause an unacceptable set of changes to something else. She doesn't want to hear about anything else.