Button Shortcut Keys
By Richard Rost 5 months ago
Shortcut Key, Default, Cancel Properties for Buttons
In this Microsoft Access tutorial, I'm going to teach you how to push command buttons on your forms using the Default and Cancel properties. I'll also show you how to create your own keyboard shortcut keys and assign them to buttons.
Aaron from Jupiter, Florida (a Platinum Member) asks: I have a form that I'm constantly opening to perform data entry, and then when I'm done, I have to stop, grab the mouse, click a close button, and repeat. It would be great if I could do all of that without having to break my stride on the keyboard to grab the mouse. Can we open and close forms using just keystrokes?
Members are going to learn how to close a form using Ctrl-Enter, which is the standard for website forms today. We'll use some fancy VBA with KeyPreview, KeyDown, KeyCode, and learn about Bitmasks.
Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, shortcut keys, default, cancel, text box, command buttons, contact form, close button, default property, cancel property, enter key behavior, new line in field, default behavior, & shortcut keys, alt-key, keypreview, keydown, acCtrlMask, acShiftMask, acAltMask, KeyCode, Shift, Form_KeyDown, Bit Masks, bitmask, Ctrl-F4 to close a form, ascii values, bitwise AND/OR
Subscribe to Button Shortcut Keys
Get notifications when this page is updated
Check out these other pages that may be of interest to you: