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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Assigning a field type<br />

Creating a database file 2-5<br />

When you define a field, you must decide the kind of data it will contain<br />

and then select the appropriate field type. <strong>FileMaker</strong> <strong>Pro</strong> uses the field<br />

type to interpret the data when sorting and performing calculations. The<br />

following table explains each field type.<br />

Select this<br />

field type If the field’s data will be<br />

Text Up to 64,000 characters of letters, symbols, and numbers used as text.<br />

You can sort records based on a text field and use a text field in formulas<br />

for calculations and summary fields. Text fields are usually sorted<br />

alphabetically (from first character to last character in the alphabet, or last<br />

to first), starting with the first character in the field. For more<br />

information, see “Sorting records” on page 4-30.<br />

Number Up to 255 characters of numbers or other characters, of which only the<br />

numbers are treated as numeric. You can sort records based on a number<br />

field and use number fields in formulas for calculations and summary<br />

fields. Number fields are sorted numerically (lowest to highest or highest<br />

to lowest), based on the numeric part of the data.<br />

Date Dates only. A date field must include at least the day and month portion<br />

(dd and mm) of a date. If you enter no year, and have not typed a separator<br />

character for a year, <strong>FileMaker</strong> <strong>Pro</strong> enters the current year for you. You<br />

can sort records based on a date field and use date fields in formulas for<br />

calculation and summary fields. Date fields are sorted chronologically<br />

(from earliest to latest or latest to earliest).<br />

Time Times only. A time field can contain only the hours, minutes, or seconds<br />

portion (hh, mm, and ss) of a time. You can sort records based on a time<br />

field and use time fields in formulas for calculation and summary fields.<br />

Time fields are sorted chronologically (from earliest to latest or latest to<br />

earliest).<br />

Container A graphic, sound, or QuickTime movie. You enter data in a container<br />

field in different ways, depending on the type of data. Container fields<br />

can be used in calculation fields and summary fields. See “Working with<br />

container fields” on page 4-6.<br />

Calculation The result of a calculation formula that uses field values from the current<br />

record or related records. The formula can use values of all field types.<br />

The result can be text, a number, date, time, or container. See<br />

“Understanding formulas” on page 2-13.<br />

Summary A value that’s produced by summarizing field values from more than one<br />

record in the same file. See “Defining summary fields” on page 2-23.<br />

Global One value to be used in all records of the file. A global field can be text,<br />

number, date, time, or container. Use the value of a global field in<br />

calculations and scripts. You can’t use a global field to find records. See<br />

“Defining global fields” on page 2-9.

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

Saved successfully!

Ooh no, something went wrong!