View Single Post
  #1 (permalink)  
Old June 7th, 2003, 06:43 PM
Kenny Alligood Kenny Alligood is offline
Authorized User
 
Join Date: Jun 2003
Location: , FL, USA.
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cancel a keystroke

I am attempting to cancel a keystroke thru code and am not having any luck. I have a textbox on a form that I want to limit to 30 characters. I have the field in the underlying table set to a max of 30 but I want to warn the user that the maxinum has been exceeded (at 31 characters) and activate the backspace key (KeyAscii(8)). I have included an IF..THEN option in mt textbox_Change event but I am unable to get the backspace function working. Any ideas or suggestions are greatly appreciated.

Thanx in Advance


Kenny Alligood
__________________
Kenny Alligood
Reply With Quote