Hi All and thanks in advance for any help you can give me.
I would like to know how once and for all to get rid of this problem. I have a column in my grid that is NOT NULL on the DB, in my KeyPress event...I haven't tracking for certain keys and disallowing or setting keyascii = 0 for others.
Well it works fine except for this....I hit backspace "nulling" the field....on my next keystroke..(an incorrect one) I get the Non Nullable Field error...then it hits my error handling code in the KeyPress event. How can I intercept the error?
I would like to know how once and for all to get rid of this problem. I have a column in my grid that is NOT NULL on the DB, in my KeyPress event...I haven't tracking for certain keys and disallowing or setting keyascii = 0 for others.
Well it works fine except for this....I hit backspace "nulling" the field....on my next keystroke..(an incorrect one) I get the Non Nullable Field error...then it hits my error handling code in the KeyPress event. How can I intercept the error?