firstdivision
MIS
Hi,
I was looking for a way to limit the number of characters that a user can type into a text box. So far the solutions I've seen are to use an input mask (thread702-609799), or to place code into the OnChange event that limits the number of characters that a user can type(thread702-668027).
Is there really no maxlength property for a text box like in VB? When the textbox is bound Access does this for you, but there is nothing stored in the InputMask field when you view the properties of the textbox (at runtime). This seems to indicate that Access has some other, hidden, way of accomplishing this task...
Since a lot of my textboxes are unbound my thought was to write a public function to do the "validation". But before I do, is there an easier way to do this??
Thanks,
AB
I was looking for a way to limit the number of characters that a user can type into a text box. So far the solutions I've seen are to use an input mask (thread702-609799), or to place code into the OnChange event that limits the number of characters that a user can type(thread702-668027).
Is there really no maxlength property for a text box like in VB? When the textbox is bound Access does this for you, but there is nothing stored in the InputMask field when you view the properties of the textbox (at runtime). This seems to indicate that Access has some other, hidden, way of accomplishing this task...
Since a lot of my textboxes are unbound my thought was to write a public function to do the "validation". But before I do, is there an easier way to do this??
Thanks,
AB