User manual
Table Of Contents
- Preface Learning how to use FileMakerPro
- Chapter 1 FileMaker Pro basics
- Chapter 2 Adding and viewing data
- Chapter 3 Finding and sorting information
- Finding records
- Finding text and characters
- Finding exact matches in text fields
- Finding numbers, dates, and times
- Finding ranges of information
- Finding data in related fields
- Finding records that match multiple criteria
- Finding empty or non-empty fields
- Finding duplicates
- Finding all records except those matching criteria
- Hiding records from a found set and viewing hidden records
- Viewing, repeating, or changing the last find
- Sorting records
- Finding records
- Chapter 4 Previewing and printing information
- Chapter 5 Creating a database
- Chapter 6 Creating and managing layouts and reports
- Chapter 7 Customizing layouts
- Chapter 8 Working with related files
- Chapter 9 Protecting databases with passwords and groups
- Chapter 10 Creating scripts to automate tasks
- About scripts
- Creating scripts: an overview
- About ScriptMaker steps
- Control script steps
- Navigation script steps
- Sort, find, and print script steps
- Editing script steps
- Fields script steps
- Records script steps
- Windows script steps
- Files script steps
- Spelling script steps
- Open Menu Item script steps
- Miscellaneous script steps
- Changing scripts
- Duplicating, renaming, or deleting scripts
- Importing scripts
- Listing scripts in the Scripts menu
- Using buttons with scripts
- Example of a ScriptMaker script
- Chapter 11 Using formulas and functions
- Chapter 12 Importing and exporting data
- Chapter 13 Sharing databases on a network
- Chapter 14 Publishing databases on the Web
- About publishing databases on the Web
- How users work with databases on the Web
- What you need to publish databasesontheWeb
- Publishing databases on the Web: an overview
- Enabling FileMaker Pro Web Companion
- Configuring FileMaker Pro WebCompanion
- Enabling Web Companion sharing
- Setting up browser views
- Testing your published database
- About browser views for web publishing
- Chapter 15 Using ODBC with FileMakerPro
- Appendix A Customizing FileMaker Pro
- Appendix B Backing up and recovering files
- Appendix C FileMaker Pro Quick Reference (Windows)
- Appendix D FileMaker Pro Quick Reference (Mac OS)
- Index
Using formulas and functions
11-3
Operators
You combine expressions using operators, symbols that determine
which operation to perform on the expressions. You place operators
between the expressions you want to perform the operation on.
Each operator has a precedence, which determines the order in which
calculations are performed in a formula containing more than one
operator. FileMaker Pro evaluates operators from left to right and
performs multiplication and division before addition and subtraction.
You can change the precedence by enclosing the expression you
want calculated first in parentheses.
Mathematical operators
Use the following mathematical operators with numeric expressions.
Comparison operators
Comparison operators compare two expressions and return either
true or false. (True and False are Boolean results.) Arithmetically, a
result of true equals 1 and a result of false equals 0.
This expression Returns
2+3*2 8
(2+3)*2 10
Operator Definition Examples
+
(Addition)
Adds two values 2+2
Subtotal+Sales Tax
–
(Subtraction or
Negation)
Subtracts the second
value from the first, or
changes the sign to + or –
2–2
InvoiceTotal–Discount
–2
*
(Multiplication)
Multiplies each value Subtotal*Sales Tax
DaysLate*.01*
LeasePayment
/
(Division)
Divides the first value by
the second
Kilometers Driven/Liters
Inches/12
^
(Power of, or
Exponentiation)
Raises the first value to
the power of the second
value
A^2+B^2 returns (A2 + B2)
Radius^3 returns (Radius3)
Operator Definition Examples
=
(Equal to)
True when both items are
equal
38=39 returns false
38=38 returns true
<>
or ≠ (Mac OS)
(Not equal to)
True when the items are not
equal
38<>39 returns true
38<>38 returns false
>
(Greater than)
True when the value on the
left exceeds the value on
the right
5>6 returns false
19>1 returns true
<
(Less than)
True when the value on the
left is less than the value on
the right
5<6 returns true
19<1 returns false
>=
or ≥ (Mac OS)
(Greater than or equal to)
True when the value on the
left is greater than or equal
to the value on the right
5>=6 returns false
5>=5 returns true
<=
or ≤ (Mac OS)
(Less than or equal to)
True when the value on the
left is less than or equal to
the value on the right
5<=6 returns true
19<=18 returns false