Export (0) Print
Expand All

CommandButton Object (Access)

This object corresponds to a command button. A command button on a form can start an action or a set of actions. For example, you could create a command button that opens another form. To make a command button do something, you write a macro or event procedure and attach it to the button's OnClick property.

Control:

Tool:

t-cmdbtn_ZA06053979

command_ZA06047243

You can display text on a command button by setting its Caption property, or you can display a picture by setting its Picture property.

Note Note

You can create over 30 different types of command buttons with the Command Button Wizard. When you use the Command Button Wizard, Microsoft Access creates the button and the event procedure for you.

Show:
© 2014 Microsoft