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.

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

Contents of Name<br />

Formula walk-through<br />

Here are some examples of functions:<br />

This function Returns<br />

Length("John") 4 (the number of characters in the text "John")<br />

Round(SalesTax,2) The amount of sales tax rounded to two decimal places<br />

Position(Name,"Mc",1,1) The position of the first occurrence of "Mc" in the Name<br />

field<br />

Some functions require two or more parameters, as in this example:<br />

Position(LastName,"Mc",1, 1)<br />

You can nest one function within another to perform more powerful<br />

calculations on your data, as in this example:<br />

Left(Name,Position(Name," ",1, 1))<br />

The result of a function can be used as a constant. The following<br />

example shows how <strong>FileMaker</strong> <strong>Pro</strong> evaluates a complex formula by<br />

simplifying each function into a constant. In the example, the Right<br />

function returns every character of text that is to the right of the first<br />

space in the Name field. (This example shows how Right returns the last<br />

name of a field that contains a first name and last name, when the value<br />

doesn’t include a title like Dr. or middle initials.)<br />

Indicate a space in<br />

your calculation<br />

by typing quote,<br />

space, quote

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

Saved successfully!

Ooh no, something went wrong!