assign scripts to buttons


To finish up with the scripts, we need to assign many of them to buttonsreplacing the previously assigned Do Nothing step with a Perform Script step. In addition, we will make Opening Script into an official opening script, ensuring that it automatically runs each time you open the database.

Assign scripts to buttons. In Layout mode, select a button, choose Format > Button Setup, select the Perform Script step, click the Specify button, and select the script shown in the table below. Repeat for each button.

Button Label

Layout Location

Script Name

Sort

Main (Header)

Sort Main

List

Main (Header)

Display Record List

Tab

Main (Header)

Go to Tab

< Prev

Main (Footer)

Prev Record

Next >

Main (Footer)

Next Record

New Transaction

Main (Savings/Money Market tab)

Add Savings Record

Dividend/Int.

Main (Stock/Mutual Fund tab)

Record Stock Dividend

Record Interest

Main (CD tab)

Record CD Interest

View

Account List (Body)

View Record


Note: An opening script can be named whatever you like. I named it Opening Script so it could be easily found in the script lists.




Creating a Database in FileMaker Pro 8. Visual QuickProject Guide
Creating a Database in FileMaker Pro 8: Visual QuickProject Guide
ISBN: 0321414837
EAN: 2147483647
Year: 2005
Pages: 115

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net