U.M. (Mac OS)

Table Of Contents
Summary of functions C-15
The following example shows how the If function returns a different
result based on a true or false condition.
Choose FileMaker Help Index from the or Help menu, and then type:
E logical functions
SYNTAX:
If (Test,ResultIfTrue,ResultIfFalse)
BASIC EXAMPLE (Not Nested):
If(Signal="Green",Go,Stop)
When test is True When test is False
If(Signal="Green",Go,Stop) If(Signal="Green",Go,Stop)
ADVANCED EXAMPLE (Nested If’s):
If (Signal="Green",Go, If(Signal="Yellow",Slow down,Stop))
When first test is True
If (Signal="Green",Go, If(Signal="Yellow",Slow down,Stop))
When first test is False
If (Signal="Green",Go, If(Signal="Yellow",Slow down,Stop))
When second test is True
If (Signal="Green",Go, If(Signal="Yellow",Slow down,Stop))
When second test is False
If (Signal="Green",Go, If(Signal="Yellow",Slow down,Stop))