You are on page 1of 42

Learn FileMaker Pro 16: The

Comprehensive Guide to Building


Custom Databases Mark Conway
Munro
Visit to download the full and correct content document:
https://textbookfull.com/product/learn-filemaker-pro-16-the-comprehensive-guide-to-b
uilding-custom-databases-mark-conway-munro/
More products digital (pdf, epub, mobi) instant
download maybe you interests ...

Learn FileMaker Pro 19: The Comprehensive Guide to


Building Custom Databases 2nd Edition Mark Conway Munro

https://textbookfull.com/product/learn-filemaker-pro-19-the-
comprehensive-guide-to-building-custom-databases-2nd-edition-
mark-conway-munro/

Learn FileMaker Pro 19 The Comprehensive Guide to


Building Custom Databases Second Edition Mark Conway
Munro

https://textbookfull.com/product/learn-filemaker-pro-19-the-
comprehensive-guide-to-building-custom-databases-second-edition-
mark-conway-munro/

Pro Microsoft Teams Development: A Hands-on Guide to


Building Custom Solutions for the Teams Platform Rick
Van Rousselt

https://textbookfull.com/product/pro-microsoft-teams-development-
a-hands-on-guide-to-building-custom-solutions-for-the-teams-
platform-rick-van-rousselt/

Pro Microsoft Teams Development A Hands on Guide to


Building Custom Solutions for the Teams Platform 1st
Edition Rick Van Rousselt

https://textbookfull.com/product/pro-microsoft-teams-development-
a-hands-on-guide-to-building-custom-solutions-for-the-teams-
platform-1st-edition-rick-van-rousselt/
Pro .NET 5 Custom Libraries: Implementing Custom .NET
Data Types 1st Edition Roger Villela

https://textbookfull.com/product/pro-net-5-custom-libraries-
implementing-custom-net-data-types-1st-edition-roger-villela/

Seven Databases in Seven Weeks A Guide to Modern


Databases and the NoSQL Movement Perkins

https://textbookfull.com/product/seven-databases-in-seven-weeks-
a-guide-to-modern-databases-and-the-nosql-movement-perkins/

Mastering Flutter A Comprehensive Guide to Learn


Flutter Development 1st Edition Cybellium Ltd Kris
Hermans

https://textbookfull.com/product/mastering-flutter-a-
comprehensive-guide-to-learn-flutter-development-1st-edition-
cybellium-ltd-kris-hermans/

Cordwood building a comprehensive guide to the state of


the art 2 Revised Edition Robert L. Roy

https://textbookfull.com/product/cordwood-building-a-
comprehensive-guide-to-the-state-of-the-art-2-revised-edition-
robert-l-roy/

Seven Databases in Seven Weeks A Guide to Modern


Databases and the NoSQL Movement 2nd Edition Luc
Perkins

https://textbookfull.com/product/seven-databases-in-seven-weeks-
a-guide-to-modern-databases-and-the-nosql-movement-2nd-edition-
luc-perkins/
Learn
FileMaker Pro 16
The Comprehensive Guide to Building
Custom Databases

Mark Conway Munro

www.allitebooks.com
Learn FileMaker Pro 16
The Comprehensive Guide to Building
Custom Databases

Mark Conway Munro

www.allitebooks.com
Learn FileMaker Pro 16: The Comprehensive Guide to Building Custom Databases
Mark Conway Munro
Lewisburg, Pennsylvania, USA
ISBN-13 (pbk): 978-1-4842-2862-3 ISBN-13 (electronic): 978-1-4842-2863-0
DOI 10.1007/978-1-4842-2863-0
Library of Congress Control Number: 2017950736
Copyright © 2017 by Mark Conway Munro
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the
material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation,
broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage
and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or
hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with
every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an
editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are
not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to
proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication,
neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or
omissions that may be made. The publisher makes no warranty, express or implied, with respect to the
material contained herein.
Cover image designed by Freepik
Managing Director: Welmoed Spahr
Editorial Director: Todd Green
Acquisitions Editor: Aaron Black
Development Editor: James Markham
Technical Reviewer: Brian Sanchez
Coordinating Editor: Jessica Vakili
Compositor: SPi Global
Indexer: SPi Global
Artist: SPi Global
Distributed to the book trade worldwide by Springer Science+Business Media New York,
233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail
orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC
and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc).
SSBM Finance Inc is a Delaware corporation.
For information on translations, please e-mail rights@apress.com, or visit http://www.apress.com/
rights-permissions.
Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and
licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales
web page at http://www.apress.com/bulk-sales.
Any source code or other supplementary material referenced by the author in this book is available
to readers on GitHub via the book's product page, located at www.apress.com/978-1-4842-2862-3.
For more detailed information, please visit http://www.apress.com/source-code.
Printed on acid-free paper

www.allitebooks.com
Contents at a Glance

About the Author�����������������������������������������������������������������������������������������������xxxvii


About the Technical Reviewer����������������������������������������������������������������������������xxxix
Foreword���������������������������������������������������������������������������������������������������������������� xli
Acknowledgments������������������������������������������������������������������������������������������������ xliii
Introduction������������������������������������������������������������������������������������������������������������xlv


■Part I: Using FileMaker����������������������������������������������������������������������� 1

■Chapter 1: Introducing FileMaker�������������������������������������������������������������������������� 3

■Chapter 2: Exploring the Application������������������������������������������������������������������� 19

■Chapter 3: Exploring a Database Window����������������������������������������������������������� 45

■Chapter 4: Working with Records������������������������������������������������������������������������ 61

■Chapter 5: Transferring Data������������������������������������������������������������������������������� 99


■Part II: Defining Data Structures����������������������������������������������������� 117

■Chapter 6: Working with Database Files����������������������������������������������������������� 119

■Chapter 7: Working with Tables������������������������������������������������������������������������� 155

■Chapter 8: Defining Fields��������������������������������������������������������������������������������� 171

■Chapter 9: Connecting Tables with Relationships��������������������������������������������� 203

■Chapter 10: Managing Containers��������������������������������������������������������������������� 233

■Chapter 11: Managing Value Lists��������������������������������������������������������������������� 243

iii

www.allitebooks.com
■ Contents at a Glance


■Part III: Writing Formulas and Using Functions������������������������������ 255

■Chapter 12: Writing Formulas��������������������������������������������������������������������������� 257

■Chapter 13: Text Functions�������������������������������������������������������������������������������� 291

■Chapter 14: Text Functions (JSON)�������������������������������������������������������������������� 313

■Chapter 15: Text Formatting Functions������������������������������������������������������������� 321

■Chapter 16: Number Functions�������������������������������������������������������������������������� 327

■Chapter 17: Date, Time, and Timestamp Functions������������������������������������������� 335

■Chapter 18: Container Functions����������������������������������������������������������������������� 343

■Chapter 19: Aggregate, Summary, and Repeating Functions���������������������������� 357

■Chapter 20: Financial and Trigonometric Functions������������������������������������������ 379

■Chapter 21: Logical Functions��������������������������������������������������������������������������� 385

■Chapter 22: Get Functions��������������������������������������������������������������������������������� 401

■Chapter 23: Design Functions���������������������������������������������������������������������������� 445

■Chapter 24: Mobile Functions���������������������������������������������������������������������������� 457

■Chapter 25: Creating Custom Functions������������������������������������������������������������ 461

■Chapter 26: Introducing ExecuteSQL����������������������������������������������������������������� 477


■Part IV: Designing Interfaces���������������������������������������������������������� 499

■Chapter 27: Introducing Layout Mode��������������������������������������������������������������� 501

■Chapter 28: Getting Started with Layouts��������������������������������������������������������� 519

■Chapter 29: Exploring Layout Palettes�������������������������������������������������������������� 559

■Chapter 30: Creating Layout Objects����������������������������������������������������������������� 589

■Chapter 31: Manipulating Objects��������������������������������������������������������������������� 661

■Chapter 32: Using Themes and Styles��������������������������������������������������������������� 681

■Chapter 33: Customizing Menus������������������������������������������������������������������������ 693

iv

www.allitebooks.com
■ Contents at a Glance


■Part V: Automating Tasks with Scripts������������������������������������������� 719

■Chapter 34: Introduction to Scripting���������������������������������������������������������������� 721

■Chapter 35: Common Scripting Tasks��������������������������������������������������������������� 749

■Chapter 36: Debugging Scripts�������������������������������������������������������������������������� 793

■Chapter 37: Using Script Triggers��������������������������������������������������������������������� 801

■Chapter 38: Extending Features with Plugins��������������������������������������������������� 815


■Part VI: Sharing and Networking���������������������������������������������������� 819

■Chapter 39: Introducing Network Sharing��������������������������������������������������������� 821

■Chapter 40: Securing Database Access������������������������������������������������������������� 851

■Chapter 41: Advanced Sharing and Analysis Tools������������������������������������������� 879

■Chapter 42: Getting Connected�������������������������������������������������������������������������� 895

Index��������������������������������������������������������������������������������������������������������������������� 899

www.allitebooks.com
Contents

About the Author�����������������������������������������������������������������������������������������������xxxvii


About the Technical Reviewer����������������������������������������������������������������������������xxxix
Foreword���������������������������������������������������������������������������������������������������������������� xli
Acknowledgments������������������������������������������������������������������������������������������������ xliii
Introduction������������������������������������������������������������������������������������������������������������xlv


■Part I: Using FileMaker����������������������������������������������������������������������� 1

■Chapter 1: Introducing FileMaker�������������������������������������������������������������������������� 3
The History of FileMaker in a Nutshell����������������������������������������������������������������������������� 3
Nashoba Nutshell����������������������������������������������������������������������������������������������������������������������������������� 3
Early FileMaker��������������������������������������������������������������������������������������������������������������������������������������� 4
FileMaker 4��������������������������������������������������������������������������������������������������������������������������������������������� 4
Claris������������������������������������������������������������������������������������������������������������������������������������������������������ 4
FileMaker Inc.����������������������������������������������������������������������������������������������������������������������������������������� 4

Exploring Database Basics����������������������������������������������������������������������������������������������� 5


Defining a Database������������������������������������������������������������������������������������������������������������������������������� 5
Database Structure��������������������������������������������������������������������������������������������������������������������������������� 6
Relational Databases������������������������������������������������������������������������������������������������������������������������������ 7
User Interface����������������������������������������������������������������������������������������������������������������������������������������� 7
Scripted Procedures������������������������������������������������������������������������������������������������������������������������������� 8

Identifying Different Database Architectures������������������������������������������������������������������� 8


The Traditional Multitier Database Architecture������������������������������������������������������������������������������������� 9
FileMaker’s Integrated File Architecture����������������������������������������������������������������������������������������������� 10

vii

www.allitebooks.com
■ Contents

Taking a Bird’s Eye Anatomical and Functional Overview���������������������������������������������� 11


Application Resources�������������������������������������������������������������������������������������������������������������������������� 13
Database File Resources���������������������������������������������������������������������������������������������������������������������� 13

The FileMaker Product Family���������������������������������������������������������������������������������������� 14


FileMaker Pro��������������������������������������������������������������������������������������������������������������������������������������� 15
FileMaker Pro Advanced����������������������������������������������������������������������������������������������������������������������� 15
FileMaker Server���������������������������������������������������������������������������������������������������������������������������������� 16
FileMaker Go����������������������������������������������������������������������������������������������������������������������������������������� 16
FileMaker WebDirect���������������������������������������������������������������������������������������������������������������������������� 17

Summary������������������������������������������������������������������������������������������������������������������������ 17

■Chapter 2: Exploring the Application������������������������������������������������������������������� 19
Installing and Launching FileMaker Pro������������������������������������������������������������������������� 19
Launching the Installer������������������������������������������������������������������������������������������������������������������������� 19
Running the Installation Process���������������������������������������������������������������������������������������������������������� 20
Launching the Application�������������������������������������������������������������������������������������������������������������������� 21

Default Windows������������������������������������������������������������������������������������������������������������ 21
Get Started Screen������������������������������������������������������������������������������������������������������������������������������� 21
Launch Center�������������������������������������������������������������������������������������������������������������������������������������� 22

Application Preferences������������������������������������������������������������������������������������������������� 23
General Settings����������������������������������������������������������������������������������������������������������������������������������� 23
Layout Settings������������������������������������������������������������������������������������������������������������������������������������� 25
Memory������������������������������������������������������������������������������������������������������������������������������������������������ 26
Plug-Ins������������������������������������������������������������������������������������������������������������������������������������������������ 26
Permitted Hosts������������������������������������������������������������������������������������������������������������������������������������ 27

Default Menu Bar����������������������������������������������������������������������������������������������������������� 28


The Application Menu��������������������������������������������������������������������������������������������������������������������������� 29
File Menu���������������������������������������������������������������������������������������������������������������������������������������������� 30
Edit Menu��������������������������������������������������������������������������������������������������������������������������������������������� 34
View Menu�������������������������������������������������������������������������������������������������������������������������������������������� 35
Insert Menu������������������������������������������������������������������������������������������������������������������������������������������ 36

viii

www.allitebooks.com
■ Contents

Format Menu���������������������������������������������������������������������������������������������������������������������������������������� 36
Records Menu��������������������������������������������������������������������������������������������������������������������������������������� 37
Scripts Menu���������������������������������������������������������������������������������������������������������������������������������������� 38
Tools Menu������������������������������������������������������������������������������������������������������������������������������������������� 38
Window Menu��������������������������������������������������������������������������������������������������������������������������������������� 39
Help Menu�������������������������������������������������������������������������������������������������������������������������������������������� 40

Contextual Menus����������������������������������������������������������������������������������������������������������� 40
Contextual Menus for Fields����������������������������������������������������������������������������������������������������������������� 42
Contextual Menus for Record Content Area������������������������������������������������������������������������������������������ 42
Contextual Menus for Web Viewers������������������������������������������������������������������������������������������������������ 42
Contextual Menus for Window Components����������������������������������������������������������������������������������������� 43
Contextual Menus for Calculation Formulas����������������������������������������������������������������������������������������� 43

Summary������������������������������������������������������������������������������������������������������������������������ 43

■Chapter 3: Exploring a Database Window����������������������������������������������������������� 45
Using a Starter Solution������������������������������������������������������������������������������������������������� 45
Listing FileMaker’s Starter Solutions���������������������������������������������������������������������������������������������������� 45
Creating a Database from a Starter Solution���������������������������������������������������������������������������������������� 46

Defining the Database Window�������������������������������������������������������������������������������������� 47


Identifying Window Areas��������������������������������������������������������������������������������������������������������������������� 47
Defining Window Modes����������������������������������������������������������������������������������������������������������������������� 48
Defining Content Views������������������������������������������������������������������������������������������������������������������������� 49
Exploring the Window Header���������������������������������������������������������������������������������������� 49
Status Toolbar (Browse Mode)�������������������������������������������������������������������������������������������������������������� 50
Formatting Bar�������������������������������������������������������������������������������������������������������������������������������������� 54
Window Ruler��������������������������������������������������������������������������������������������������������������������������������������� 55

Managing Multiple Windows������������������������������������������������������������������������������������������ 56


Creating a New Window����������������������������������������������������������������������������������������������������������������������� 56
Closing a Window��������������������������������������������������������������������������������������������������������������������������������� 57
Selecting a Window from the Menu������������������������������������������������������������������������������������������������������ 57
Hiding and Showing Windows�������������������������������������������������������������������������������������������������������������� 57

ix

www.allitebooks.com
■ Contents

Opening an Existing Database���������������������������������������������������������������������������������������� 58


Opening a Database through the Launch Center���������������������������������������������������������������������������������� 59
Managing Favorite Databases�������������������������������������������������������������������������������������������������������������� 60

Summary������������������������������������������������������������������������������������������������������������������������ 60

■Chapter 4: Working with Records������������������������������������������������������������������������ 61
Entering Data������������������������������������������������������������������������������������������������������������������ 61
Opening a Record��������������������������������������������������������������������������������������������������������������������������������� 61
Understanding Field Focus������������������������������������������������������������������������������������������������������������������� 62
Moving to Another Field with Tab Order������������������������������������������������������������������������������������������������ 62
Modifying Field Contents���������������������������������������������������������������������������������������������������������������������� 63
Formatting Field Contents�������������������������������������������������������������������������������������������������������������������� 64
Closing a Record����������������������������������������������������������������������������������������������������������������������������������� 64
Managing Records��������������������������������������������������������������������������������������������������������� 65
Creating a New Record������������������������������������������������������������������������������������������������������������������������� 65
Deleting a Record��������������������������������������������������������������������������������������������������������������������������������� 65
Deleting All Records����������������������������������������������������������������������������������������������������������������������������� 66
Duplicating a Record���������������������������������������������������������������������������������������������������������������������������� 66
Searching for Records���������������������������������������������������������������������������������������������������� 67
Performing Fast Searches�������������������������������������������������������������������������������������������������������������������� 67
Using Find Mode����������������������������������������������������������������������������������������������������������������������������������� 70
Working with Found Sets����������������������������������������������������������������������������������������������� 84
Defining a Found Set���������������������������������������������������������������������������������������������������������������������������� 84
Changing the Records in the Found Set����������������������������������������������������������������������������������������������� 84
Sorting Records in the Found Set��������������������������������������������������������������������������������������������������������� 85
Modifying Field Values for Records in the Found Set��������������������������������������������������������������������������� 87
Find and Replace���������������������������������������������������������������������������������������������������������������������������������� 90
Spell Checking�������������������������������������������������������������������������������������������������������������������������������������� 91
Printing��������������������������������������������������������������������������������������������������������������������������� 93
Page Setup������������������������������������������������������������������������������������������������������������������������������������������� 93
Using Preview Mode����������������������������������������������������������������������������������������������������������������������������� 93
Print Dialog Options������������������������������������������������������������������������������������������������������������������������������ 96
Summary������������������������������������������������������������������������������������������������������������������������ 97

www.allitebooks.com
■ Contents


■Chapter 5: Transferring Data������������������������������������������������������������������������������� 99
Importing and Exporting Records����������������������������������������������������������������������������������� 99
Supported File Types�������������������������������������������������������������������������������������������������������������������������� 100
Downloading Sample Data����������������������������������������������������������������������������������������������������������������� 100
Importing Records������������������������������������������������������������������������������������������������������������������������������ 101
Exporting Records������������������������������������������������������������������������������������������������������������������������������ 110

Exporting Field Contents���������������������������������������������������������������������������������������������� 115


Summary���������������������������������������������������������������������������������������������������������������������� 116


■Part II: Defining Data Structures����������������������������������������������������� 117

■Chapter 6: Working with Database Files����������������������������������������������������������� 119
Creating a New Database File�������������������������������������������������������������������������������������� 119
Configuring a Sandbox Table���������������������������������������������������������������������������������������� 120
Changing the Default Table Name������������������������������������������������������������������������������������������������������ 120
Creating Data Entry Fields������������������������������������������������������������������������������������������������������������������ 121
Creating a Calculation Field���������������������������������������������������������������������������������������������������������������� 123
Creating a Summary Field������������������������������������������������������������������������������������������������������������������ 123
Setting Up Layouts����������������������������������������������������������������������������������������������������������������������������� 125

Database File Options�������������������������������������������������������������������������������������������������� 130


Open Settings������������������������������������������������������������������������������������������������������������������������������������� 131
Icon Settings��������������������������������������������������������������������������������������������������������������������������������������� 132
Spelling Settings��������������������������������������������������������������������������������������������������������������������������������� 133
Text Settings��������������������������������������������������������������������������������������������������������������������������������������� 133
Script Triggers Settings���������������������������������������������������������������������������������������������������������������������� 135

Maintaining Healthy Files��������������������������������������������������������������������������������������������� 135


Database Maintenance Functions������������������������������������������������������������������������������������������������������ 135
Avoiding Design and Training Deficiencies����������������������������������������������������������������������������������������� 140
Restraining File Size��������������������������������������������������������������������������������������������������������������������������� 143
Understanding File Damage��������������������������������������������������������������������������������������������������������������� 144

xi
■ Contents

Specifying File Paths���������������������������������������������������������������������������������������������������� 147


Formatting Paths�������������������������������������������������������������������������������������������������������������������������������� 148
Building Dynamic Paths���������������������������������������������������������������������������������������������������������������������� 152

Summary���������������������������������������������������������������������������������������������������������������������� 153

■Chapter 7: Working with Tables������������������������������������������������������������������������� 155
Modeling Tables����������������������������������������������������������������������������������������������������������� 155
Introducing the Manage Database Dialog (Tables)������������������������������������������������������� 156
Table Properties���������������������������������������������������������������������������������������������������������������������������������� 157

Naming Tables�������������������������������������������������������������������������������������������������������������� 157


Managing Tables���������������������������������������������������������������������������������������������������������� 159
Selecting Tables���������������������������������������������������������������������������������������������������������������������������������� 159
Adding Tables������������������������������������������������������������������������������������������������������������������������������������� 160
Modifying a Table Name��������������������������������������������������������������������������������������������������������������������� 169
Deleting Tables����������������������������������������������������������������������������������������������������������������������������������� 169

Summary���������������������������������������������������������������������������������������������������������������������� 170

■Chapter 8: Defining Fields��������������������������������������������������������������������������������� 171
Defining Field Data Types��������������������������������������������������������������������������������������������� 172
Entry Fields����������������������������������������������������������������������������������������������������������������������������������������� 172
Display Fields������������������������������������������������������������������������������������������������������������������������������������� 176

Exploring Field Content Types�������������������������������������������������������������������������������������� 176


Introducing the Manage Database Dialog (Fields)�������������������������������������������������������� 177
Naming Fields�������������������������������������������������������������������������������������������������������������� 178
Highlighting the Visibility of Field Names������������������������������������������������������������������������������������������� 178

Defining Standard Fields���������������������������������������������������������������������������������������������� 179


Ideas for Standard Fields�������������������������������������������������������������������������������������������������������������������� 179
Naming Standard Fields��������������������������������������������������������������������������������������������������������������������� 180

Managing Fields����������������������������������������������������������������������������������������������������������� 182


Selecting Fields���������������������������������������������������������������������������������������������������������������������������������� 182
Adding Fields�������������������������������������������������������������������������������������������������������������������������������������� 183
Modifying a Field Name���������������������������������������������������������������������������������������������������������������������� 185

xii
■ Contents

Modifying a Field Type������������������������������������������������������������������������������������������������������������������������ 185


Deleting Fields������������������������������������������������������������������������������������������������������������������������������������ 186

Setting Field Options���������������������������������������������������������������������������������������������������� 186


Options for Entry Fields���������������������������������������������������������������������������������������������������������������������� 187
Options for Display Fields������������������������������������������������������������������������������������������������������������������� 196

Expanding the Learn FileMaker Object Model�������������������������������������������������������������� 199


Defining Standard Fields�������������������������������������������������������������������������������������������������������������������� 199
Defining Custom Fields����������������������������������������������������������������������������������������������������������������������� 200

Summary���������������������������������������������������������������������������������������������������������������������� 201

■Chapter 9: Connecting Tables with Relationships��������������������������������������������� 203
Introducing Relationships��������������������������������������������������������������������������������������������� 203
Defining Relationships������������������������������������������������������������������������������������������������������������������������ 203
Defining Uses for Relationships���������������������������������������������������������������������������������������������������������� 204
Defining Connection Types����������������������������������������������������������������������������������������������������������������� 205
Organizing Relationships�������������������������������������������������������������������������������������������������������������������� 209
Planning the Learn FileMaker Relational Object Model���������������������������������������������������������������������� 212

Managing Data Sources����������������������������������������������������������������������������������������������� 212


Introducing the Manage External Data Sources Dialog���������������������������������������������������������������������� 212
Exploring the Edit Data Source Dialog������������������������������������������������������������������������������������������������ 214

Introducing the Manage Database Dialog (Relationships)�������������������������������������������� 215


Working with Table Occurrences���������������������������������������������������������������������������������� 216
Selecting Table Occurrences�������������������������������������������������������������������������������������������������������������� 216
Interacting with Table Occurrences���������������������������������������������������������������������������������������������������� 217
Arranging Table Occurrences�������������������������������������������������������������������������������������������������������������� 218
Viewing Options���������������������������������������������������������������������������������������������������������������������������������� 220
Formatting Table Occurrences������������������������������������������������������������������������������������������������������������ 220
Editing Table Occurrences������������������������������������������������������������������������������������������������������������������ 221
Adding Table Occurrences������������������������������������������������������������������������������������������������������������������ 222
Deleting Occurrences������������������������������������������������������������������������������������������������������������������������� 223
Printing the Relationship Graph���������������������������������������������������������������������������������������������������������� 224

xiii
■ Contents

Building Relationships�������������������������������������������������������������������������������������������������� 224


Adding Relationships�������������������������������������������������������������������������������������������������������������������������� 224
Manipulating Relationships���������������������������������������������������������������������������������������������������������������� 226

Adding Notes to the Graph������������������������������������������������������������������������������������������� 230


Finalizing the Learn FileMaker Relational Model��������������������������������������������������������� 231
Summary���������������������������������������������������������������������������������������������������������������������� 232

■Chapter 10: Managing Containers��������������������������������������������������������������������� 233
Inserting Files into Containers�������������������������������������������������������������������������������������� 233
Insert Menu���������������������������������������������������������������������������������������������������������������������������������������� 234
Drag and Drop������������������������������������������������������������������������������������������������������������������������������������ 234
Copy and Paste����������������������������������������������������������������������������������������������������������������������������������� 235

Understanding Container Storage Options������������������������������������������������������������������� 235


Storing the Actual File������������������������������������������������������������������������������������������������������������������������ 235
Storing a Reference to a File�������������������������������������������������������������������������������������������������������������� 235

Using Managed External Storage��������������������������������������������������������������������������������� 237


Defining Base Directories������������������������������������������������������������������������������������������������������������������� 237
Defining a Field to Store Container Data Externally���������������������������������������������������������������������������� 240

Extracting Files from Containers���������������������������������������������������������������������������������� 242


Summary���������������������������������������������������������������������������������������������������������������������� 242

■Chapter 11: Managing Value Lists��������������������������������������������������������������������� 243
Using Value Lists���������������������������������������������������������������������������������������������������������� 243
Exploring the Value List Interface��������������������������������������������������������������������������������� 244
Introducing the Value Lists Dialog������������������������������������������������������������������������������������������������������ 244
Introducing the Editing Value List Dialog�������������������������������������������������������������������������������������������� 245

Creating Value Lists������������������������������������������������������������������������������������������������������ 246


Using Custom Values�������������������������������������������������������������������������������������������������������������������������� 246
Using Values from Another File����������������������������������������������������������������������������������������������������������� 246
Using Values from a Field������������������������������������������������������������������������������������������������������������������� 247
Building Value Lists from Field Values������������������������������������������������������������������������������������������������ 249

Summary���������������������������������������������������������������������������������������������������������������������� 254

xiv
■ Contents


■Part III: Writing Formulas and Using Functions������������������������������ 255

■Chapter 12: Writing Formulas��������������������������������������������������������������������������� 257
Introducing Formulas��������������������������������������������������������������������������������������������������� 258
How Formulas Work��������������������������������������������������������������������������������������������������������������������������� 259

Defining Formula Components������������������������������������������������������������������������������������� 260


Comments������������������������������������������������������������������������������������������������������������������������������������������ 260
Constants�������������������������������������������������������������������������������������������������������������������������������������������� 261
Field References��������������������������������������������������������������������������������������������������������������������������������� 262
Functions�������������������������������������������������������������������������������������������������������������������������������������������� 263
Operators�������������������������������������������������������������������������������������������������������������������������������������������� 265
Reserved Words���������������������������������������������������������������������������������������������������������������������������������� 272
Variables��������������������������������������������������������������������������������������������������������������������������������������������� 274

Exploring the Calculation Interface������������������������������������������������������������������������������ 277


Exploring the Specify Calculation Dialog�������������������������������������������������������������������������������������������� 278

Writing Formulas���������������������������������������������������������������������������������������������������������� 279


Getting Started with Simple Formulas������������������������������������������������������������������������������������������������ 279
Inserting Components into Formulas�������������������������������������������������������������������������������������������������� 282
Creating Repeating Calculation Fields������������������������������������������������������������������������������������������������ 286
Using Space to Your Advantage���������������������������������������������������������������������������������������������������������� 287

Adding Calculations to the Learn FileMaker File���������������������������������������������������������� 289


Company Contact Count��������������������������������������������������������������������������������������������������������������������� 289
Contact Address Label������������������������������������������������������������������������������������������������������������������������ 290

Summary���������������������������������������������������������������������������������������������������������������������� 290

■Chapter 13: Text Functions�������������������������������������������������������������������������������� 291
Text Function Reference����������������������������������������������������������������������������������������������� 291
Char���������������������������������������������������������������������������������������������������������������������������������������������������� 292
Code��������������������������������������������������������������������������������������������������������������������������������������������������� 293
Exact��������������������������������������������������������������������������������������������������������������������������������������������������� 293
Filter��������������������������������������������������������������������������������������������������������������������������������������������������� 294
FilterValues����������������������������������������������������������������������������������������������������������������������������������������� 294
Furigana��������������������������������������������������������������������������������������������������������������������������������������������� 295
xv
■ Contents

GetAsCSS�������������������������������������������������������������������������������������������������������������������������������������������� 295
GetAsDate������������������������������������������������������������������������������������������������������������������������������������������� 295
GetAsNumber�������������������������������������������������������������������������������������������������������������������������������������� 296
GetAsSVG�������������������������������������������������������������������������������������������������������������������������������������������� 297
GetAsText�������������������������������������������������������������������������������������������������������������������������������������������� 297
GetAsTime������������������������������������������������������������������������������������������������������������������������������������������ 298
GetAsTimestamp�������������������������������������������������������������������������������������������������������������������������������� 298
GetAsURLEncoded������������������������������������������������������������������������������������������������������������������������������ 299
GetValue��������������������������������������������������������������������������������������������������������������������������������������������� 299
Hiragana��������������������������������������������������������������������������������������������������������������������������������������������� 300
KanaHankaku������������������������������������������������������������������������������������������������������������������������������������� 300
KanaZenkaku�������������������������������������������������������������������������������������������������������������������������������������� 300
KanjiNumeral�������������������������������������������������������������������������������������������������������������������������������������� 300
Katakana��������������������������������������������������������������������������������������������������������������������������������������������� 300
Left����������������������������������������������������������������������������������������������������������������������������������������������������� 300
LeftValues������������������������������������������������������������������������������������������������������������������������������������������� 301
LeftWords������������������������������������������������������������������������������������������������������������������������������������������� 301
Length������������������������������������������������������������������������������������������������������������������������������������������������� 302
Lower�������������������������������������������������������������������������������������������������������������������������������������������������� 302
Middle������������������������������������������������������������������������������������������������������������������������������������������������� 302
MiddleValues�������������������������������������������������������������������������������������������������������������������������������������� 303
MiddleWords��������������������������������������������������������������������������������������������������������������������������������������� 303
NumToJText���������������������������������������������������������������������������������������������������������������������������������������� 303
PatternCount��������������������������������������������������������������������������������������������������������������������������������������� 303
Position����������������������������������������������������������������������������������������������������������������������������������������������� 304
Proper������������������������������������������������������������������������������������������������������������������������������������������������� 305
Quote�������������������������������������������������������������������������������������������������������������������������������������������������� 305
Replace����������������������������������������������������������������������������������������������������������������������������������������������� 306
Right��������������������������������������������������������������������������������������������������������������������������������������������������� 306
RightValues����������������������������������������������������������������������������������������������������������������������������������������� 306
RightWords����������������������������������������������������������������������������������������������������������������������������������������� 307
RomanHankaku���������������������������������������������������������������������������������������������������������������������������������� 307

xvi
■ Contents

RomanZenkaku����������������������������������������������������������������������������������������������������������������������������������� 307
SerialIncrement���������������������������������������������������������������������������������������������������������������������������������� 307
SortValues������������������������������������������������������������������������������������������������������������������������������������������ 308
Substitute������������������������������������������������������������������������������������������������������������������������������������������� 309
Trim����������������������������������������������������������������������������������������������������������������������������������������������������� 310
TrimAll������������������������������������������������������������������������������������������������������������������������������������������������� 310
UniqueValues�������������������������������������������������������������������������������������������������������������������������������������� 311
Upper�������������������������������������������������������������������������������������������������������������������������������������������������� 311
ValueCount������������������������������������������������������������������������������������������������������������������������������������������ 311
WordCount������������������������������������������������������������������������������������������������������������������������������������������ 312

Summary���������������������������������������������������������������������������������������������������������������������� 312

■Chapter 14: Text Functions (JSON)�������������������������������������������������������������������� 313
Introducing JSON��������������������������������������������������������������������������������������������������������� 313
Defining the JSON Format������������������������������������������������������������������������������������������������������������������ 313
Referring to JSON Elements��������������������������������������������������������������������������������������������������������������� 315

JSON Function Reference�������������������������������������������������������������������������������������������� 317


JSONDeleteElement���������������������������������������������������������������������������������������������������������������������������� 317
JSONFormatElements������������������������������������������������������������������������������������������������������������������������� 317
JSONGetElement�������������������������������������������������������������������������������������������������������������������������������� 318
JSONListKeys������������������������������������������������������������������������������������������������������������������������������������� 318
JSONListValues����������������������������������������������������������������������������������������������������������������������������������� 319
JSONSetElement�������������������������������������������������������������������������������������������������������������������������������� 319

Summary���������������������������������������������������������������������������������������������������������������������� 320

■Chapter 15: Text Formatting Functions������������������������������������������������������������� 321
Text Formatting Function Reference���������������������������������������������������������������������������� 321
RGB����������������������������������������������������������������������������������������������������������������������������������������������������� 322
TextColor��������������������������������������������������������������������������������������������������������������������������������������������� 322
TextColorRemove�������������������������������������������������������������������������������������������������������������������������������� 323
TextFont���������������������������������������������������������������������������������������������������������������������������������������������� 323
TextFontRemove��������������������������������������������������������������������������������������������������������������������������������� 324
TextFormatRemove����������������������������������������������������������������������������������������������������������������������������� 324

xvii
■ Contents

TextSize���������������������������������������������������������������������������������������������������������������������������������������������� 325
TextSizeRemove��������������������������������������������������������������������������������������������������������������������������������� 325
TextStyleAdd��������������������������������������������������������������������������������������������������������������������������������������� 326
TextStyleRemove�������������������������������������������������������������������������������������������������������������������������������� 326

Summary���������������������������������������������������������������������������������������������������������������������� 326

■Chapter 16: Number Functions�������������������������������������������������������������������������� 327
Number Function Reference���������������������������������������������������������������������������������������� 327
Abs������������������������������������������������������������������������������������������������������������������������������������������������������ 328
Ceiling������������������������������������������������������������������������������������������������������������������������������������������������� 328
Combination��������������������������������������������������������������������������������������������������������������������������������������� 328
Div������������������������������������������������������������������������������������������������������������������������������������������������������ 329
Exp������������������������������������������������������������������������������������������������������������������������������������������������������ 329
Factorial���������������������������������������������������������������������������������������������������������������������������������������������� 330
Floor��������������������������������������������������������������������������������������������������������������������������������������������������� 330
Int������������������������������������������������������������������������������������������������������������������������������������������������������� 330
Lg�������������������������������������������������������������������������������������������������������������������������������������������������������� 331
Ln�������������������������������������������������������������������������������������������������������������������������������������������������������� 331
Log������������������������������������������������������������������������������������������������������������������������������������������������������ 331
Mod����������������������������������������������������������������������������������������������������������������������������������������������������� 332
Random���������������������������������������������������������������������������������������������������������������������������������������������� 332
Round������������������������������������������������������������������������������������������������������������������������������������������������� 333
SetPrecision���������������������������������������������������������������������������������������������������������������������������������������� 333
Sign���������������������������������������������������������������������������������������������������������������������������������������������������� 333
Sqrt����������������������������������������������������������������������������������������������������������������������������������������������������� 334
Truncate���������������������������������������������������������������������������������������������������������������������������������������������� 334

Summary���������������������������������������������������������������������������������������������������������������������� 334

■Chapter 17: Date, Time, and Timestamp Functions������������������������������������������� 335
Date Function Reference���������������������������������������������������������������������������������������������� 335
Date���������������������������������������������������������������������������������������������������������������������������������������������������� 336
Day����������������������������������������������������������������������������������������������������������������������������������������������������� 336
DayName�������������������������������������������������������������������������������������������������������������������������������������������� 336

xviii
■ Contents

DayNameJ������������������������������������������������������������������������������������������������������������������������������������������ 337
DayOfWeek����������������������������������������������������������������������������������������������������������������������������������������� 337
DayOf Year������������������������������������������������������������������������������������������������������������������������������������������ 337
Month������������������������������������������������������������������������������������������������������������������������������������������������� 337
MonthName���������������������������������������������������������������������������������������������������������������������������������������� 338
MonthNameJ�������������������������������������������������������������������������������������������������������������������������������������� 338
WeekOfYear���������������������������������������������������������������������������������������������������������������������������������������� 338
WeekOfYearFiscal������������������������������������������������������������������������������������������������������������������������������� 339
Year����������������������������������������������������������������������������������������������������������������������������������������������������� 339
YearName������������������������������������������������������������������������������������������������������������������������������������������� 339

Time Function Reference��������������������������������������������������������������������������������������������� 340


Hour���������������������������������������������������������������������������������������������������������������������������������������������������� 340
Minute������������������������������������������������������������������������������������������������������������������������������������������������ 340
Seconds���������������������������������������������������������������������������������������������������������������������������������������������� 341
Time���������������������������������������������������������������������������������������������������������������������������������������������������� 341

Timestamp Function Reference����������������������������������������������������������������������������������� 341


Timestamp������������������������������������������������������������������������������������������������������������������������������������������ 341

Summary���������������������������������������������������������������������������������������������������������������������� 342

■Chapter 18: Container Functions����������������������������������������������������������������������� 343
Container Function Reference�������������������������������������������������������������������������������������� 343
Base64Decode������������������������������������������������������������������������������������������������������������������������������������ 343
Base64Encode������������������������������������������������������������������������������������������������������������������������������������ 344
Base64EncodeRFC������������������������������������������������������������������������������������������������������������������������������ 344
CryptAuthCode������������������������������������������������������������������������������������������������������������������������������������ 345
CryptEncrypt��������������������������������������������������������������������������������������������������������������������������������������� 346
CryptEncryptBase64��������������������������������������������������������������������������������������������������������������������������� 346
CryptDecrypt��������������������������������������������������������������������������������������������������������������������������������������� 347
CryptDecryptBase64��������������������������������������������������������������������������������������������������������������������������� 347
CryptDigest����������������������������������������������������������������������������������������������������������������������������������������� 347
GetContainerAttribute������������������������������������������������������������������������������������������������������������������������� 348
Examples�������������������������������������������������������������������������������������������������������������������������������������������� 350

xix
■ Contents

GetHeight�������������������������������������������������������������������������������������������������������������������������������������������� 351
GetThumbnail������������������������������������������������������������������������������������������������������������������������������������� 352
GetWidth��������������������������������������������������������������������������������������������������������������������������������������������� 352
HexEncode������������������������������������������������������������������������������������������������������������������������������������������ 353
HexDecode������������������������������������������������������������������������������������������������������������������������������������������ 353
TextEncode����������������������������������������������������������������������������������������������������������������������������������������� 354
TextDecode����������������������������������������������������������������������������������������������������������������������������������������� 354
VerifyContainer����������������������������������������������������������������������������������������������������������������������������������� 355

Summary���������������������������������������������������������������������������������������������������������������������� 355

■Chapter 19: Aggregate, Summary, and Repeating Functions���������������������������� 357
Aggregate Function Reference������������������������������������������������������������������������������������� 357
Average ���������������������������������������������������������������������������������������������������������������������������������������������� 358
Count�������������������������������������������������������������������������������������������������������������������������������������������������� 360
List������������������������������������������������������������������������������������������������������������������������������������������������������ 362
Max ���������������������������������������������������������������������������������������������������������������������������������������������������� 363
Min ����������������������������������������������������������������������������������������������������������������������������������������������������� 365
StDev ������������������������������������������������������������������������������������������������������������������������������������������������� 367
StDevP ����������������������������������������������������������������������������������������������������������������������������������������������� 369
Sum ��������������������������������������������������������������������������������������������������������������������������������������������������� 370
Variance ��������������������������������������������������������������������������������������������������������������������������������������������� 372
VarianceP ������������������������������������������������������������������������������������������������������������������������������������������� 374
Summary Functions����������������������������������������������������������������������������������������������������� 376
GetSummary �������������������������������������������������������������������������������������������������������������������������������������� 376

Repeating Function Reference������������������������������������������������������������������������������������� 377


Extend ������������������������������������������������������������������������������������������������������������������������������������������������ 377
GetRepetition ������������������������������������������������������������������������������������������������������������������������������������� 378
Last ���������������������������������������������������������������������������������������������������������������������������������������������������� 378

Summary���������������������������������������������������������������������������������������������������������������������� 378

■Chapter 20: Financial and Trigonometric Functions������������������������������������������ 379
Financial Function Reference��������������������������������������������������������������������������������������� 379
FV�������������������������������������������������������������������������������������������������������������������������������������������������������� 379
xx
■ Contents

NPV ���������������������������������������������������������������������������������������������������������������������������������������������������� 380


PMT ��������������������������������������������������������������������������������������������������������������������������������������������������� 380
PV ������������������������������������������������������������������������������������������������������������������������������������������������������ 380

Trigonometric Function Reference������������������������������������������������������������������������������� 381


Acos ��������������������������������������������������������������������������������������������������������������������������������������������������� 381
Asin ���������������������������������������������������������������������������������������������������������������������������������������������������� 382
Atan ��������������������������������������������������������������������������������������������������������������������������������������������������� 382
Cos ����������������������������������������������������������������������������������������������������������������������������������������������������� 382
Degrees ��������������������������������������������������������������������������������������������������������������������������������������������� 382
Pi ������������������������������������������������������������������������������������������������������������������������������������������������������� 383
Radians ���������������������������������������������������������������������������������������������������������������������������������������������� 383
Sin ����������������������������������������������������������������������������������������������������������������������������������������������������� 383
Tan ����������������������������������������������������������������������������������������������������������������������������������������������������� 384

Summary���������������������������������������������������������������������������������������������������������������������� 384

■Chapter 21: Logical Functions��������������������������������������������������������������������������� 385
Logical Function Reference������������������������������������������������������������������������������������������ 385
Case ��������������������������������������������������������������������������������������������������������������������������������������������������� 386
Choose ����������������������������������������������������������������������������������������������������������������������������������������������� 386
Evaluate���������������������������������������������������������������������������������������������������������������������������������������������� 387
EvaluationError ���������������������������������������������������������������������������������������������������������������������������������� 388
ExecuteSQL����������������������������������������������������������������������������������������������������������������������������������������� 389
GetAsBoolean ������������������������������������������������������������������������������������������������������������������������������������ 389
GetAVPlayerAttribute ������������������������������������������������������������������������������������������������������������������������� 389
GetField ��������������������������������������������������������������������������������������������������������������������������������������������� 390
GetFieldName ������������������������������������������������������������������������������������������������������������������������������������ 391
GetLayoutObjectAttribute ������������������������������������������������������������������������������������������������������������������� 392
GetNthRecord ������������������������������������������������������������������������������������������������������������������������������������ 394
If �������������������������������������������������������������������������������������������������������������������������������������������������������� 394
IsEmpty ���������������������������������������������������������������������������������������������������������������������������������������������� 395
IsValid ������������������������������������������������������������������������������������������������������������������������������������������������ 395
IsValidExpression ������������������������������������������������������������������������������������������������������������������������������� 395

xxi
■ Contents

Let ������������������������������������������������������������������������������������������������������������������������������������������������������ 396


Lookup ����������������������������������������������������������������������������������������������������������������������������������������������� 397
LookupNext ���������������������������������������������������������������������������������������������������������������������������������������� 398
Self ���������������������������������������������������������������������������������������������������������������������������������������������������� 399

Summary���������������������������������������������������������������������������������������������������������������������� 399

■Chapter 22: Get Functions��������������������������������������������������������������������������������� 401
Get Function Reference������������������������������������������������������������������������������������������������ 401
Get ( AccountExtendedPrivileges )������������������������������������������������������������������������������������������������������ 404
Get ( AccountGroupName )����������������������������������������������������������������������������������������������������������������� 405
Get ( AccountName )��������������������������������������������������������������������������������������������������������������������������� 405
Get ( AccountPrivilegeSetName )�������������������������������������������������������������������������������������������������������� 405
Get ( ActiveFieldContents )������������������������������������������������������������������������������������������������������������������ 406
Get ( ActiveFieldName )���������������������������������������������������������������������������������������������������������������������� 406
Get ( ActiveFieldTableName )�������������������������������������������������������������������������������������������������������������� 406
Get ( ActiveLayoutObjectName )��������������������������������������������������������������������������������������������������������� 406
Get ( ActiveModifierKeys )������������������������������������������������������������������������������������������������������������������� 407
Get ( ActivePortalRowNumber )���������������������������������������������������������������������������������������������������������� 407
Get ( ActiveRepetitionNumber )���������������������������������������������������������������������������������������������������������� 408
Get ( ActiveSelectionSize )������������������������������������������������������������������������������������������������������������������ 408
Get ( ActiveSelectionStart )����������������������������������������������������������������������������������������������������������������� 408
Get ( AllowAbortState )����������������������������������������������������������������������������������������������������������������������� 409
Get ( AllowFormattingBarState )��������������������������������������������������������������������������������������������������������� 409
Get ( ApplicationArchitecture )������������������������������������������������������������������������������������������������������������ 409
Get ( ApplicationLanguage )���������������������������������������������������������������������������������������������������������������� 410
Get ( ApplicationVersion )�������������������������������������������������������������������������������������������������������������������� 410
Get ( CalculationRepetitionNumber )�������������������������������������������������������������������������������������������������� 411
Get ( ConnectionAttributes )���������������������������������������������������������������������������������������������������������������� 411
Get ( ConnectionState )����������������������������������������������������������������������������������������������������������������������� 411
Get ( CurrentDate )������������������������������������������������������������������������������������������������������������������������������ 412
Get ( CurrentExtendedPrivileges )������������������������������������������������������������������������������������������������������� 412
Get ( CurrentHostTimestamp )������������������������������������������������������������������������������������������������������������ 412

xxii
■ Contents

Get ( CurrentPrivilegeSetName )��������������������������������������������������������������������������������������������������������� 413


Get ( CurrentTime )����������������������������������������������������������������������������������������������������������������������������� 413
Get ( CurrentTimestamp )������������������������������������������������������������������������������������������������������������������� 413
Get ( CurrentTimeUTCMilliseconds )��������������������������������������������������������������������������������������������������� 413
Get ( CustomMenuSetName )������������������������������������������������������������������������������������������������������������� 414
Get ( DesktopPath )����������������������������������������������������������������������������������������������������������������������������� 414
Get ( Device )�������������������������������������������������������������������������������������������������������������������������������������� 415
Get ( DocumentsPath )������������������������������������������������������������������������������������������������������������������������ 415
Get ( DocumentsPathListing )������������������������������������������������������������������������������������������������������������� 416
Get ( EncryptionState )������������������������������������������������������������������������������������������������������������������������ 416
Get ( ErrorCaptureState )�������������������������������������������������������������������������������������������������������������������� 417
Get ( FileMakerPath )�������������������������������������������������������������������������������������������������������������������������� 417
Get ( FileName )���������������������������������������������������������������������������������������������������������������������������������� 417
Get ( FilePath )������������������������������������������������������������������������������������������������������������������������������������ 417
Get ( FileSize )������������������������������������������������������������������������������������������������������������������������������������� 418
Get ( FoundCount )������������������������������������������������������������������������������������������������������������������������������ 418
Get ( HighContrastColor )�������������������������������������������������������������������������������������������������������������������� 418
Get ( HighContrastState )�������������������������������������������������������������������������������������������������������������������� 419
Get ( HostApplicationVersion )������������������������������������������������������������������������������������������������������������ 419
Get ( HostIPAddress )�������������������������������������������������������������������������������������������������������������������������� 419
Get ( HostName )��������������������������������������������������������������������������������������������������������������������������������� 420
Get ( InstalledFMPlugins ) ������������������������������������������������������������������������������������������������������������������ 420
Get ( LastError ) ��������������������������������������������������������������������������������������������������������������������������������� 420
Get ( LastExternalErrorDetail ) ����������������������������������������������������������������������������������������������������������� 421
Get ( LastMessageChoice ) ���������������������������������������������������������������������������������������������������������������� 421
Get ( LayoutAccess ) �������������������������������������������������������������������������������������������������������������������������� 421
Get ( LayoutCount ) ���������������������������������������������������������������������������������������������������������������������������� 422
Get ( LayoutName ) ���������������������������������������������������������������������������������������������������������������������������� 422
Get ( LayoutNumber ) ������������������������������������������������������������������������������������������������������������������������� 422
Get ( LayoutTableName ) �������������������������������������������������������������������������������������������������������������������� 422
Get ( LayoutViewState ) ��������������������������������������������������������������������������������������������������������������������� 423
Get ( MenubarState ) ������������������������������������������������������������������������������������������������������������������������� 423

xxiii
■ Contents

Get ( ModifiedFields ) ������������������������������������������������������������������������������������������������������������������������� 423


Get ( MultiUserState ) ������������������������������������������������������������������������������������������������������������������������ 424
Get ( NetworkProtocol ) ��������������������������������������������������������������������������������������������������������������������� 424
Get ( NetworkType ) ��������������������������������������������������������������������������������������������������������������������������� 424
Get ( PageNumber ) ��������������������������������������������������������������������������������������������������������������������������� 425
Get ( PersistentID ) ����������������������������������������������������������������������������������������������������������������������������� 425
Get ( PreferencesPath ) ���������������������������������������������������������������������������������������������������������������������� 425
Get ( PrinterName ) ���������������������������������������������������������������������������������������������������������������������������� 426
Get ( QuickFindText ) �������������������������������������������������������������������������������������������������������������������������� 426
Get ( RecordAccess ) ������������������������������������������������������������������������������������������������������������������������� 426
Get ( RecordID ) ���������������������������������������������������������������������������������������������������������������������������������� 427
Get ( RecordModificationCount ) �������������������������������������������������������������������������������������������������������� 427
Get ( RecordNumber ) ������������������������������������������������������������������������������������������������������������������������ 427
Get ( RecordOpenCount ) ������������������������������������������������������������������������������������������������������������������� 427
Get ( RecordOpenState ) �������������������������������������������������������������������������������������������������������������������� 428
Get ( RegionMonitorEvents ) �������������������������������������������������������������������������������������������������������������� 428
Get ( RequestCount ) �������������������������������������������������������������������������������������������������������������������������� 428
Get ( RequestOmitState ) ������������������������������������������������������������������������������������������������������������������� 429
Get ( ScreenDepth ) ��������������������������������������������������������������������������������������������������������������������������� 429
Get ( ScreenHeight ) ��������������������������������������������������������������������������������������������������������������������������� 429
Get ( ScreenScaleFactor ) ������������������������������������������������������������������������������������������������������������������ 430
Get ( ScreenWidth ) ���������������������������������������������������������������������������������������������������������������������������� 430
Get ( ScriptAnimationState ) �������������������������������������������������������������������������������������������������������������� 430
Get ( ScriptName ) ����������������������������������������������������������������������������������������������������������������������������� 430
Get ( ScriptParameter ) ���������������������������������������������������������������������������������������������������������������������� 431
Get ( ScriptResult ) ����������������������������������������������������������������������������������������������������������������������������� 431
Get ( SortState ) ��������������������������������������������������������������������������������������������������������������������������������� 432
Get ( StatusAreaState ) ���������������������������������������������������������������������������������������������������������������������� 432
Get ( SystemDrive ) ���������������������������������������������������������������������������������������������������������������������������� 432
Get ( SystemIPAddress ) �������������������������������������������������������������������������������������������������������������������� 433
Get ( SystemLanguage ) �������������������������������������������������������������������������������������������������������������������� 433
Get ( SystemNICAddress ) ������������������������������������������������������������������������������������������������������������������ 433

xxiv
■ Contents

Get ( SystemPlatform ) ����������������������������������������������������������������������������������������������������������������������� 434


Get ( SystemVersion ) ������������������������������������������������������������������������������������������������������������������������ 434
Get ( TemporaryPath ) ������������������������������������������������������������������������������������������������������������������������ 434
Get ( TextRulerVisible ) ����������������������������������������������������������������������������������������������������������������������� 435
Get ( TotalRecordCount ) �������������������������������������������������������������������������������������������������������������������� 435
Get ( TouchKeyboardState ) ��������������������������������������������������������������������������������������������������������������� 435
Get ( TriggerCurrentPanel ) ���������������������������������������������������������������������������������������������������������������� 436
Get ( TriggerExternalEvent ) ��������������������������������������������������������������������������������������������������������������� 436
Get ( TriggerGestureInfo ) ������������������������������������������������������������������������������������������������������������������� 437
Get ( TriggerKeystroke ) ��������������������������������������������������������������������������������������������������������������������� 437
Get ( TriggerModifierKeys ) ���������������������������������������������������������������������������������������������������������������� 437
Get ( TriggerTargetPanel ) ������������������������������������������������������������������������������������������������������������������ 438
Get ( UserCount ) �������������������������������������������������������������������������������������������������������������������������������� 438
Get ( UserName ) ������������������������������������������������������������������������������������������������������������������������������� 438
Get ( UseSystemFormatsState ) ��������������������������������������������������������������������������������������������������������� 439
Get ( UUID ) ���������������������������������������������������������������������������������������������������������������������������������������� 439
Get ( WindowContentHeight ) ������������������������������������������������������������������������������������������������������������� 439
Get ( WindowContentWidth ) �������������������������������������������������������������������������������������������������������������� 440
Get ( WindowDesktopHeight ) ������������������������������������������������������������������������������������������������������������ 440
Get ( WindowDesktopWidth ) ������������������������������������������������������������������������������������������������������������� 440
Get ( WindowHeight ) ������������������������������������������������������������������������������������������������������������������������� 440
Get ( WindowLeft ) ����������������������������������������������������������������������������������������������������������������������������� 441
Get ( WindowMode ) ��������������������������������������������������������������������������������������������������������������������������� 441
Get ( WindowName ) �������������������������������������������������������������������������������������������������������������������������� 441
Get ( WindowOrientation ) ������������������������������������������������������������������������������������������������������������������ 442
Get ( WindowStyle ) ��������������������������������������������������������������������������������������������������������������������������� 442
Get ( WindowTop ) ������������������������������������������������������������������������������������������������������������������������������ 442
Get ( WindowVisible ) ������������������������������������������������������������������������������������������������������������������������� 443
Get ( WindowWidth ) �������������������������������������������������������������������������������������������������������������������������� 443
Get ( WindowZoomLevel ) ������������������������������������������������������������������������������������������������������������������ 443

Summary���������������������������������������������������������������������������������������������������������������������� 443

xxv
■ Contents


■Chapter 23: Design Functions���������������������������������������������������������������������������� 445
Design Function Reference������������������������������������������������������������������������������������������ 445
DatabaseNames �������������������������������������������������������������������������������������������������������������������������������� 446
FieldBounds ��������������������������������������������������������������������������������������������������������������������������������������� 446
FieldComment ����������������������������������������������������������������������������������������������������������������������������������� 447
FieldIDs ���������������������������������������������������������������������������������������������������������������������������������������������� 447
FieldNames ���������������������������������������������������������������������������������������������������������������������������������������� 448
FieldRepetitions ��������������������������������������������������������������������������������������������������������������������������������� 448
FieldStyle ������������������������������������������������������������������������������������������������������������������������������������������� 449
FieldType ������������������������������������������������������������������������������������������������������������������������������������������� 449
GetNextSerialValue ���������������������������������������������������������������������������������������������������������������������������� 450
LayoutIDs ������������������������������������������������������������������������������������������������������������������������������������������� 450
LayoutNames ������������������������������������������������������������������������������������������������������������������������������������� 451
LayoutObjectNames ��������������������������������������������������������������������������������������������������������������������������� 451
RelationInfo ��������������������������������������������������������������������������������������������������������������������������������������� 452
ScriptIDs �������������������������������������������������������������������������������������������������������������������������������������������� 453
ScriptNames �������������������������������������������������������������������������������������������������������������������������������������� 453
TableIDs ��������������������������������������������������������������������������������������������������������������������������������������������� 453
TableNames ��������������������������������������������������������������������������������������������������������������������������������������� 454
ValueListIDs ��������������������������������������������������������������������������������������������������������������������������������������� 454
ValueListItems ����������������������������������������������������������������������������������������������������������������������������������� 455
ValueListNames ��������������������������������������������������������������������������������������������������������������������������������� 455
WindowNames ����������������������������������������������������������������������������������������������������������������������������������� 456

Summary���������������������������������������������������������������������������������������������������������������������� 456

■Chapter 24: Mobile Functions���������������������������������������������������������������������������� 457
Mobile Function Reference������������������������������������������������������������������������������������������ 457
Location ��������������������������������������������������������������������������������������������������������������������������������������������� 457
LocationValues ���������������������������������������������������������������������������������������������������������������������������������� 458
RangeBeacons ����������������������������������������������������������������������������������������������������������������������������������� 459

Summary���������������������������������������������������������������������������������������������������������������������� 460

xxvi
■ Contents


■Chapter 25: Creating Custom Functions������������������������������������������������������������ 461
Defining Custom Functions������������������������������������������������������������������������������������������ 461
Exploring the Custom Function Dialogs������������������������������������������������������������������������ 462
The Manage Custom Functions Dialog����������������������������������������������������������������������������������������������� 462
The Edit Custom Function Dialog�������������������������������������������������������������������������������������������������������� 464

Building Custom Functions������������������������������������������������������������������������������������������ 465


Creating a Simple Custom Function��������������������������������������������������������������������������������������������������� 465
Adding Parameters to a Custom Function������������������������������������������������������������������������������������������ 467
Accessing Fields from Custom Functions������������������������������������������������������������������������������������������� 471
Building Recursive Custom Functions������������������������������������������������������������������������������������������������ 472

Summary���������������������������������������������������������������������������������������������������������������������� 475

■Chapter 26: Introducing ExecuteSQL����������������������������������������������������������������� 477
Defining the ExecuteSQL Function������������������������������������������������������������������������������� 478
How the ExecuteSQL Function Works������������������������������������������������������������������������������������������������� 478
Understanding Some Limitations of ExecuteSQL������������������������������������������������������������������������������� 480

Creating SQL Queries��������������������������������������������������������������������������������������������������� 481


Defining SELECT Statements�������������������������������������������������������������������������������������������������������������� 481
Using the SELECT Statement�������������������������������������������������������������������������������������������������������������� 483
Inserting Literal Text in the Field List�������������������������������������������������������������������������������������������������� 489
Concatenating Results������������������������������������������������������������������������������������������������������������������������ 490
Using the WHERE Clause�������������������������������������������������������������������������������������������������������������������� 491
Using the ORDER BY Clause��������������������������������������������������������������������������������������������������������������� 492
Using the JOIN Clause������������������������������������������������������������������������������������������������������������������������ 492
Using the GROUP BY Clause��������������������������������������������������������������������������������������������������������������� 493
Using the UNION Clause��������������������������������������������������������������������������������������������������������������������� 494
Limiting the Results of a Query���������������������������������������������������������������������������������������������������������� 494

Accessing the Database Schema �������������������������������������������������������������������������������� 496


Selecting FileMaker_Tables���������������������������������������������������������������������������������������������������������������� 496
Selecting FileMaker_Fields���������������������������������������������������������������������������������������������������������������� 497

Exploring Other SQL Features�������������������������������������������������������������������������������������� 498


Summary���������������������������������������������������������������������������������������������������������������������� 498
xxvii
■ Contents


■Part IV: Designing Interfaces���������������������������������������������������������� 499

■Chapter 27: Introducing Layout Mode��������������������������������������������������������������� 501
Emphasizing the Importance of Layout Design������������������������������������������������������������ 501
Using Layout Mode������������������������������������������������������������������������������������������������������� 502
Identifying Layout Mode��������������������������������������������������������������������������������������������������������������������� 502
Status Toolbar (Layout Mode)������������������������������������������������������������������������������������������������������������� 504
Menu Changes (Layout Mode)������������������������������������������������������������������������������������������������������������ 509

Summary���������������������������������������������������������������������������������������������������������������������� 518

■Chapter 28: Getting Started with Layouts��������������������������������������������������������� 519
Planning Layouts���������������������������������������������������������������������������������������������������������� 519
Classifying Layouts into Type Categories������������������������������������������������������������������������������������������� 519
Sketching a Layout Flow Chart����������������������������������������������������������������������������������������������������������� 523

Working with Layout Parts������������������������������������������������������������������������������������������� 524


Exploring Layout Regions and Controls���������������������������������������������������������������������������������������������� 524
Defining Part Types����������������������������������������������������������������������������������������������������������������������������� 526
Managing Parts���������������������������������������������������������������������������������������������������������������������������������� 527

Adding Layouts������������������������������������������������������������������������������������������������������������� 530


Creating a New Layout����������������������������������������������������������������������������������������������������������������������� 530
Configuring Layouts ��������������������������������������������������������������������������������������������������������������������������� 550

Deleting Layouts����������������������������������������������������������������������������������������������������������� 556


Using the Manage Layouts Dialog�������������������������������������������������������������������������������� 556
Optimizing Layout Performance����������������������������������������������������������������������������������� 558
Summary���������������������������������������������������������������������������������������������������������������������� 558

■Chapter 29: Exploring Layout Palettes�������������������������������������������������������������� 559
Exploring the Field Picker��������������������������������������������������������������������������������������������� 559
Exploring the Inspector������������������������������������������������������������������������������������������������ 561
Panel One — Defining Position Settings�������������������������������������������������������������������������������������������� 562
Panel Two — Style Settings��������������������������������������������������������������������������������������������������������������� 568
Panel Three — Appearance Settings�������������������������������������������������������������������������������������������������� 568
Panel Four — Data����������������������������������������������������������������������������������������������������������������������������� 576
xxviii
■ Contents

Exploring the Layout Objects Palette���������������������������������������������������������������������������� 585


Using the Shortcuts in the Layout Objects Palette Contextual Menu������������������������������������������������� 586

Summary���������������������������������������������������������������������������������������������������������������������� 588

■Chapter 30: Creating Layout Objects����������������������������������������������������������������� 589
Introducing Layout Objects������������������������������������������������������������������������������������������ 589
Inserting an Object onto the Layout���������������������������������������������������������������������������������������������������� 590
Configuring an Object������������������������������������������������������������������������������������������������������������������������� 590

Working with Field Objects������������������������������������������������������������������������������������������ 591


Clarifying Field Terminology��������������������������������������������������������������������������������������������������������������� 591
Field Basics���������������������������������������������������������������������������������������������������������������������������������������� 592
Configuring Field Control Style����������������������������������������������������������������������������������������������������������� 596
Exploring the Benefits of Pop-Up Menus for Two-Field Value List������������������������������������������������������ 610
Bypassing Value List Entry Restrictions��������������������������������������������������������������������������������������������� 613
Using Placeholders����������������������������������������������������������������������������������������������������������������������������� 616

Working with Text��������������������������������������������������������������������������������������������������������� 619


Static Text������������������������������������������������������������������������������������������������������������������������������������������� 620
Dynamic Placeholder Symbols����������������������������������������������������������������������������������������������������������� 620
Merge Fields��������������������������������������������������������������������������������������������������������������������������������������� 620
Merge Variables���������������������������������������������������������������������������������������������������������������������������������� 621

Working with Button Controls�������������������������������������������������������������������������������������� 621


Working with Buttons������������������������������������������������������������������������������������������������������������������������� 621
Popover Button����������������������������������������������������������������������������������������������������������������������������������� 628
Button Bar������������������������������������������������������������������������������������������������������������������������������������������� 632

Working with Panel Controls���������������������������������������������������������������������������������������� 635


Tab Control������������������������������������������������������������������������������������������������������������������������������������������ 635
Slide Control��������������������������������������������������������������������������������������������������������������������������������������� 638

Working with Portals���������������������������������������������������������������������������������������������������� 639


Illustrating How Portals Work������������������������������������������������������������������������������������������������������������� 640
Exploring the Portal Setup Dialog������������������������������������������������������������������������������������������������������� 640
Adding Objects to Portal Rows����������������������������������������������������������������������������������������������������������� 642
Creating Records in a Portal��������������������������������������������������������������������������������������������������������������� 642

xxix
Another random document with
no related content on Scribd:
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright law in
the United States and you are located in the United States, we do
not claim a right to prevent you from copying, distributing,
performing, displaying or creating derivative works based on the
work as long as all references to Project Gutenberg are removed. Of
course, we hope that you will support the Project Gutenberg™
mission of promoting free access to electronic works by freely
sharing Project Gutenberg™ works in compliance with the terms of
this agreement for keeping the Project Gutenberg™ name
associated with the work. You can easily comply with the terms of
this agreement by keeping this work in the same format with its
attached full Project Gutenberg™ License when you share it without
charge with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the terms
of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.

1.E. Unless you have removed all references to Project Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project Gutenberg™
work (any work on which the phrase “Project Gutenberg” appears, or
with which the phrase “Project Gutenberg” is associated) is
accessed, displayed, performed, viewed, copied or distributed:
This eBook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this eBook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is derived


from texts not protected by U.S. copyright law (does not contain a
notice indicating that it is posted with permission of the copyright
holder), the work can be copied and distributed to anyone in the
United States without paying any fees or charges. If you are
redistributing or providing access to a work with the phrase “Project
Gutenberg” associated with or appearing on the work, you must
comply either with the requirements of paragraphs 1.E.1 through
1.E.7 or obtain permission for the use of the work and the Project
Gutenberg™ trademark as set forth in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is posted


with the permission of the copyright holder, your use and distribution
must comply with both paragraphs 1.E.1 through 1.E.7 and any
additional terms imposed by the copyright holder. Additional terms
will be linked to the Project Gutenberg™ License for all works posted
with the permission of the copyright holder found at the beginning of
this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files containing a
part of this work or any other work associated with Project
Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute this


electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1 with
active links or immediate access to the full terms of the Project
Gutenberg™ License.
1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or expense
to the user, provide a copy, a means of exporting a copy, or a means
of obtaining a copy upon request, of the work in its original “Plain
Vanilla ASCII” or other form. Any alternate format must include the
full Project Gutenberg™ License as specified in paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™ works
unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or providing


access to or distributing Project Gutenberg™ electronic works
provided that:

• You pay a royalty fee of 20% of the gross profits you derive from
the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt that
s/he does not agree to the terms of the full Project Gutenberg™
License. You must require such a user to return or destroy all
copies of the works possessed in a physical medium and
discontinue all use of and all access to other copies of Project
Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project Gutenberg™


electronic work or group of works on different terms than are set
forth in this agreement, you must obtain permission in writing from
the Project Gutenberg Literary Archive Foundation, the manager of
the Project Gutenberg™ trademark. Contact the Foundation as set
forth in Section 3 below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on, transcribe
and proofread works not protected by U.S. copyright law in creating
the Project Gutenberg™ collection. Despite these efforts, Project
Gutenberg™ electronic works, and the medium on which they may
be stored, may contain “Defects,” such as, but not limited to,
incomplete, inaccurate or corrupt data, transcription errors, a
copyright or other intellectual property infringement, a defective or
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except


for the “Right of Replacement or Refund” described in paragraph
1.F.3, the Project Gutenberg Literary Archive Foundation, the owner
of the Project Gutenberg™ trademark, and any other party
distributing a Project Gutenberg™ electronic work under this
agreement, disclaim all liability to you for damages, costs and
expenses, including legal fees. YOU AGREE THAT YOU HAVE NO
REMEDIES FOR NEGLIGENCE, STRICT LIABILITY, BREACH OF
WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE
PROVIDED IN PARAGRAPH 1.F.3. YOU AGREE THAT THE
FOUNDATION, THE TRADEMARK OWNER, AND ANY
DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE LIABLE
TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL,
PUNITIVE OR INCIDENTAL DAMAGES EVEN IF YOU GIVE
NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving it,
you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or entity
that provided you with the defective work may elect to provide a
replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

1.F.4. Except for the limited right of replacement or refund set forth in
paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.
1.F.6. INDEMNITY - You agree to indemnify and hold the
Foundation, the trademark owner, any agent or employee of the
Foundation, anyone providing copies of Project Gutenberg™
electronic works in accordance with this agreement, and any
volunteers associated with the production, promotion and distribution
of Project Gutenberg™ electronic works, harmless from all liability,
costs and expenses, including legal fees, that arise directly or
indirectly from any of the following which you do or cause to occur:
(a) distribution of this or any Project Gutenberg™ work, (b)
alteration, modification, or additions or deletions to any Project
Gutenberg™ work, and (c) any Defect you cause.

Section 2. Information about the Mission of


Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many small
donations ($1 to $5,000) are particularly important to maintaining tax
exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.

Section 5. General Information About Project


Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.

Project Gutenberg™ eBooks are often created from several printed


editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.

You might also like