Textbook Learn Filemaker Pro 16 The Comprehensive Guide To Building Custom Databases Mark Conway Munro Ebook All Chapter PDF
Textbook Learn Filemaker Pro 16 The Comprehensive Guide To Building Custom Databases Mark Conway Munro Ebook All Chapter PDF
Textbook Learn Filemaker Pro 16 The Comprehensive Guide To Building Custom Databases Mark Conway Munro Ebook All Chapter PDF
https://textbookfull.com/product/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-second-edition-
mark-conway-munro/
https://textbookfull.com/product/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-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/
https://textbookfull.com/product/seven-databases-in-seven-weeks-
a-guide-to-modern-databases-and-the-nosql-movement-perkins/
https://textbookfull.com/product/mastering-flutter-a-
comprehensive-guide-to-learn-flutter-development-1st-edition-
cybellium-ltd-kris-hermans/
https://textbookfull.com/product/cordwood-building-a-
comprehensive-guide-to-the-state-of-the-art-2-revised-edition-
robert-l-roy/
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
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
[email protected], 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 [email protected], 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
■
■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
■
■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
vii
www.allitebooks.com
■ Contents
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
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
ix
www.allitebooks.com
■ Contents
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
■
■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
xi
■ Contents
Summary���������������������������������������������������������������������������������������������������������������������� 153
■
■Chapter 7: Working with Tables������������������������������������������������������������������������� 155
Modeling Tables����������������������������������������������������������������������������������������������������������� 155
Introducing the Manage Database Dialog (Tables)������������������������������������������������������� 156
Table Properties���������������������������������������������������������������������������������������������������������������������������������� 157
Summary���������������������������������������������������������������������������������������������������������������������� 170
■
■Chapter 8: Defining Fields��������������������������������������������������������������������������������� 171
Defining Field Data Types��������������������������������������������������������������������������������������������� 172
Entry Fields����������������������������������������������������������������������������������������������������������������������������������������� 172
Display Fields������������������������������������������������������������������������������������������������������������������������������������� 176
xii
■ Contents
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
xiii
■ Contents
Summary���������������������������������������������������������������������������������������������������������������������� 254
xiv
■ Contents
■
■Part III: Writing Formulas and Using Functions������������������������������ 255
■
■Chapter 12: Writing Formulas��������������������������������������������������������������������������� 257
Introducing Formulas��������������������������������������������������������������������������������������������������� 258
How Formulas Work��������������������������������������������������������������������������������������������������������������������������� 259
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
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
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
Summary���������������������������������������������������������������������������������������������������������������������� 378
■
■Chapter 20: Financial and Trigonometric Functions������������������������������������������ 379
Financial Function Reference��������������������������������������������������������������������������������������� 379
FV�������������������������������������������������������������������������������������������������������������������������������������������������������� 379
xx
■ Contents
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
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
xxiii
■ Contents
xxiv
■ Contents
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
Summary���������������������������������������������������������������������������������������������������������������������� 475
■
■Chapter 26: Introducing ExecuteSQL����������������������������������������������������������������� 477
Defining the ExecuteSQL Function������������������������������������������������������������������������������� 478
How the ExecuteSQL Function Works������������������������������������������������������������������������������������������������� 478
Understanding Some Limitations of ExecuteSQL������������������������������������������������������������������������������� 480
■
■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
Summary���������������������������������������������������������������������������������������������������������������������� 588
■
■Chapter 30: Creating Layout Objects����������������������������������������������������������������� 589
Introducing Layout Objects������������������������������������������������������������������������������������������ 589
Inserting an Object onto the Layout���������������������������������������������������������������������������������������������������� 590
Configuring an Object������������������������������������������������������������������������������������������������������������������������� 590
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.
• 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 comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.
1.F.
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.
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.
Most people start at our website which has the main PG search
facility: www.gutenberg.org.