I am trying to disable record movement (under certain conditions). I can disable individual keys, but not the above two combinations. I would like to keep Home and End working (on their own), as it helps when inside a field.
If pubBoolCallInProgress = True Then If KeyCode = 34 Or KeyCode = 33 Or KeyCode = 17 Or KeyCode = 35 Or KeyCode = 36 Then DoCmd.CancelEvent KeyCode = 0 Exit Sub End IfEnd If