14.10.2013 Views

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

FileMaker Pro 4.1 Mac User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2-16 <strong>FileMaker</strong> <strong>Pro</strong> User’s <strong>Guide</strong><br />

Field references<br />

Operators<br />

?<br />

A field reference is a field name that acts as a placeholder for the field’s value.<br />

When <strong>FileMaker</strong> <strong>Pro</strong> evaluates the formula in the current record, the value in<br />

the field represented by the field reference is used in the calculation.<br />

(Quotation marks indicate a text expression.)<br />

This expression Returns<br />

Invoice Total*0.075 7.5 when the value in the Invoice Total field is<br />

100.<br />

First Name & " " & Last Name "John Jones" when the value in the First Name<br />

field is “John” and the value in the Last Name field<br />

is “Jones”.<br />

Relationship Name::Invoice<br />

Total*0.075<br />

7.5 when the value in the Invoice Total field is<br />

100. The Invoice Total field is located in a related<br />

database.<br />

The syntax is Relationship name::Field name<br />

You combine expressions using operators, symbols that determine which<br />

operation to perform on the expressions. You place operators between the<br />

expressions you want to perform the operation on, as in:<br />

Subtotal + Tax<br />

Each operator has a precedence, which determines the order in which<br />

calculations are performed in a formula containing more than one operator.<br />

<strong>FileMaker</strong> <strong>Pro</strong> evaluates operators from left to right and performs<br />

multiplication and division before addition and subtraction. You can change<br />

the precedence by enclosing the expression you want calculated first in<br />

parentheses.<br />

This expression Returns<br />

2+3*2 8<br />

(2+3)*2 10<br />

Choose <strong>FileMaker</strong> Help Index from the or Help menu, and then type:<br />

E operators

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!