I have a user that forgets and uses the ctrl minus sign (-) on an Access 2007 form which deletes a record - which he doesn't want to do. He uses this in Excel 2007 and it zooms out.
Is there any way I can deactivate the Ctrl minus sign in Access?
I know its a little late but if not resolved perform the following:
[ol][li]Open the form in [blue]design view[/blue].[/li]
[li]Double-click the small square box at the end of the ruler to callup the [blue]properties window[/blue] for the form.[/li]
[li]Select the events tab. Scroll down to the [blue]Key Preview[/blue] event and make sure it saids [blue]Yes[/blue].[/li]
[li]In the [blue]On Key Down[/blue] event, copy/paste the following:
Code:
[blue] If (Shift = acCtrlMask) And (KeyCode = 189) Then KeyCode = 0[/blue]
[/li]
[li][blue]Thats it ... save & perform your testing.[/blue][/li][/ol]
See Ya! . . . . . .
Be sure to see faq219-2884 [blue]Worthy Reading![/blue]
Also faq181-2886 [blue]Worthy Reading![/blue]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.