Using buttons with scripts
You can use a button to perform a FileMaker Pro command or a script. For example, you could define a button that performs a script that finds, sorts, and prints records, or one that transfers information from one FileMaker Pro file to another.
In Browse mode or in Find mode, you can click a button to perform its command or script. You can also include buttons in a layout’s tab order, which allows you to tab to a button and “click” it by pressing the Space bar. For more information, see Setting the tab order for data entry.
You can turn many FileMaker objects into buttons. You can copy an existing button, or use text and graphics to design your own button.
Related topics 
Creating and editing scripts
Perform Script and script parameter example
Topics in this section
Defining a button
Copying a button
Changing a button definition
Deleting a button