How enforce max no of characters in a textbox?

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
Back
Top