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-9
Important To generate subsummary values, you must sort the
database by the break field.
Note An alternate way to summarize data with calculations is to
create a self-join relationship. Use the break field as the match field
on both sides of the relationship (to group related records), then use
aggregate functions to summarize data within each “group.” See
“Summarizing data in portals” on page 8-12.
Repeating functions
Use repeating functions in calculations referencing repeating fields.
This example shows how the Extend function ensures accurate
results in calculations involving both repeating and non-repeating
fields.
Financial functions
Note
1 Term is expressed in months
1 Interest rate is a value from 0.0 to 1.0, divided by 12 (months).
Syntax Definition
GetSummary (summary field,
break field)
GetSummary (summary field,
summary field)
Returns the subsummary value of summary
field for the current group of records when
records are sorted by break field; otherwise,
returns an empty result.
Returns the grand summary value of summary
field for the current found set of records.
Syntax Definition
Extend (non-repeating field) Allows the value in a non-repeating field to be
used in a calculation involving repeating fields.
(See the example below.)
GetRepetition (repeating
field, number)
Returns the contents of the repetition number of
repeating field.
Last (repeating field) Returns the last valid, non-blank value in
repeating field.
Syntax Definition
FV (payment, interest
rate, periods)
Returns the future value of an investment based on
interest rate and payment for periods.
NPV (payment, interest
rate)
Returns net present value of a series of unequal
payments (in a repeating field) made at regular
intervals using a fixed interest rate (in a number
field) per interval. (When payment contains equal
values in each repetition, use the PV function.)
PMT (principal, interest
rate, term)
Returns the payment needed to meet the
requirements of principal, interest rate, term.
PV (payment, interest
rate, periods)
Returns the present value of equal payments made
at regular periods, assuming a fixed interest rate
per payment.
5.00
17.00
82.79
Item Total
.07
Tax Rate
.35
0
0
Item Tax
5.00
17.00
82.79
Item Total
.07
Tax Rate
.35
1.19
5.79
Item Tax
=Item Total * Tax Rate
=Item Total * Extend (Tax Rate)
Without Extend, a calculation
includes a non-repeating value
in the result for only the first
repetition of the calculated field
Using Extend, a calculation
includes a non-repeating value
in the result for all repetitions of
the calculated field