A command button on an Access form is used to start a set of actions. To make it perform a particular action, you write a macro and attach it to the command button’s On Click property. By tapping the Build Event on the shortcut menu, it will display the Macro associated with the On Click event which Access created automatically.