K
Kiran
I am using the below code for disabling Ctrl+Z(Command for Undo) in the Form.
However what I see is “z†being typed when I try to use it. Is there a
solution for this. I need to use this because when the staff enters something
wrong in the text box and presses Ctrl Z all the data in the Text Box is
lost. I would be glad to know if there is an alternate way of implementing
this.
If Shift = acCtrlMask Then
Select Case KeyCode
Case 90
MsgBox ("You have selected Ctrl Z")
Case Else
End Select
End If
However what I see is “z†being typed when I try to use it. Is there a
solution for this. I need to use this because when the staff enters something
wrong in the text box and presses Ctrl Z all the data in the Text Box is
lost. I would be glad to know if there is an alternate way of implementing
this.
If Shift = acCtrlMask Then
Select Case KeyCode
Case 90
MsgBox ("You have selected Ctrl Z")
Case Else
End Select
End If