How enforce max no of characters in a textbox?

G

Guest

My column bound to the text box is defined as text(50) but I only want the
user to be able to enter 38 characters (This will generate a mailing label
and this is all that will fit on a line). Is there a way to enforce this. I
tried using the Keypress event but it seems to count backspace characters as
characters in calculating the length.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top