- Command buttons execute an action or actions. They can run both macros and event procedures. Embed macros into a command button's "On Click" property; this allows you to copy the button to other Forms without losing functionality.
- The most common command button properties are "Name," "Caption" and "On Click." The "Name" property lets you refer to a button in an event procedure or macro. The "Caption" is the label on the button that the user sees. The "On Click" property specifies the action to perform when the user clicks the command button.
- You can customize Access command buttons, creating a row of command buttons or making the buttons appear as hyperlinks, for example. Add images to command buttons to make your application more appealing. Place a transparent command button over an object on a Form; the user can then execute the action by clicking the object.
previous post
next post