Hello,
I have a problem in following sub:
VB Code:
Private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii = 19 Then If cmdSave.Enabled = True Then cmdSave_Click End If MsgBox KeyAscii 'Trying to figure out this.... Else mbDirty = True Call CheckButtons End If End Sub
I have ctrl+s key combination saving current recordset on the form. Everything is fine except when focus is on ComboBox and I try ctr+s, it brings item in ComboBox list starting with letter "s".
I tried to put similar code in keyup event, but result is the same.
Please help.
Deki PA




Reply With Quote