Database Reference
In-Depth Information
Figure 4-22. The Button Setup window lets you choose from most of the same steps you see in the
Edit Script window. The difference is that you can only choose a single script step when you define
a button this way. Any time you need a process that requires two or more script steps, create a
script and then attach it to the button. But even if the process is a single step, you may still want a
script, so you can set it to appear in the Scripts menu. Even better, if you apply a script to several
buttons throughout your database, you can change the script, and all the buttons will run the edited
script automatically. But if you had attached a single action to each of those buttons instead of a
script, you'd have to change each one manually.
Switch to Browse mode and then Unsort your records, if they're sorted. Finally, click the
Last Name field label to see the script run. You haven't put anything on your layout to indic-
ate to your users that the field label does anything useful. FileMaker changes the pointer to a
hand icon when it's positioned over any button, but you have to give users a visual clue that
there's something useful besides text. So change the label's formatting (make it a contrasting
color, or put a border around it so that it looks like a button) to help users out. (Learn more
about buttons on Buttons .)
NOTE
If your pointer doesn't change to a hand when you put your cursor over a button, go to Layout mode
and double-click the button. Select the “Change hand to cursor over button” option and click OK.
Search WWH ::




Custom Search