Database Reference
In-Depth Information
When you add a new step, FileMaker inserts it after the selected step. You want the
Else step to go right after the Send Mail step, so you select that step first.
2. Add the Else step to the script .
FileMaker inserts an Else step between Send Mail and End If .
NOTE
Don't click the Else If step by mistake. You want the step called just Else . If you added
the wrong step, select it, click Clear and then try, try again.
3. Right after the Else step, add the Show Custom Dialog script step to the script .
This step is also under Miscellaneous. Its job is to pop up a dialog box for someone.
You get to decide what the box says, which buttons it includes, and which fields—if
any—it should show.
4. In the Script Step Options area, click the Specify button .
The “'Show Custom Dialog' Options” window appears ( Figure 11-17 ).
5. In the Title box, type No Email Address .
This text will appear in the title bar of your custom dialog box. The Specify button
opens the Specify Calculation dialog box, where all the rules for creating syntactically
correct character strings apply ( The Structure of a Calculation ). But if you type in the
Title field instead, you don't have to include quotation marks around static
text—FileMaker puts them in for when you click OK. Careful though: If you type the
opening quotation mark without its pair, FileMaker balks when you click OK. You see
a message warning you that the text needs a closing quotation mark. But if you type
the close quote without the open quote, FileMaker gets confused and adds two quotes
at the end of your text.
6. In the Message box, type You can't email this customer because there's no email
address .
This tells FileMaker what to put inside the dialog box as the message.
Search WWH ::




Custom Search