Functions Reference
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Aggregate functions
- Chapter 3 Date functions
- Chapter 4 Design functions
- Chapter 5 External functions
- Chapter 6 Financial functions
- Chapter 7 Get functions
- Get(AccountName)
- Get(ActiveFieldContents)
- Get(ActiveFieldName)
- Get(ActiveFieldTableName)
- Get(ActiveLayoutObjectName)
- Get(ActiveModifierKeys)
- Get(ActiveRepetitionNumber)
- Get(ActiveSelectionSize)
- Get(ActiveSelectionStart)
- Get(AllowAbortState)
- Get(AllowToolbarState)
- Get(ApplicationLanguage)
- Get(ApplicationVersion)
- Get(CalculationRepetitionNumber)
- Get(CurrentDate)
- Get(CurrentHostTimestamp)
- Get(CurrentTime)
- Get(CurrentTimestamp)
- Get(CustomMenuSetName)
- Get(DesktopPath)
- Get(DocumentsPath)
- Get(ErrorCaptureState)
- Get(ExtendedPrivileges)
- Get(FileMakerPath)
- Get(FileName)
- Get(FilePath)
- Get(FileSize)
- Get(FoundCount)
- Get(HighContrastColor)
- Get(HighContrastState)
- Get(HostApplicationVersion)
- Get(HostIPAddress)
- Get(HostName)
- Get(LastError)
- Get(LastMessageChoice)
- Get(LastODBCError)
- Get(LayoutAccess)
- Get(LayoutCount)
- Get(LayoutName)
- Get(LayoutNumber)
- Get(LayoutTableName)
- Get(LayoutViewState)
- Get(MultiUserState)
- Get(NetworkProtocol)
- Get(PageNumber)
- Get(PortalRowNumber)
- Get(PreferencesPath)
- Get(PrinterName)
- Get(PrivilegeSetName)
- Get(RecordAccess)
- Get(RecordID)
- Get(RecordModificationCount)
- Get(RecordNumber)
- Get(RecordOpenCount)
- Get(RecordOpenState)
- Get(RequestCount)
- Get(RequestOmitState)
- Get(ScreenDepth)
- Get(ScreenHeight)
- Get(ScreenWidth)
- Get(ScriptName)
- Get(ScriptParameter)
- Get(ScriptResult)
- Get(SortState)
- Get(StatusAreaState)
- Get(SystemDrive)
- Get(SystemIPAddress)
- Get(SystemLanguage)
- Get(SystemNICAddress)
- Get(SystemPlatform)
- Get(SystemVersion)
- Get(TemporaryPath)
- Get(TextRulerVisible)
- Get(TotalRecordCount)
- Get(UserCount)
- Get(UserName)
- Get(UseSystemFormatsState)
- Get(WindowContentHeight)
- Get(WindowContentWidth)
- Get(WindowDesktopHeight)
- Get(WindowDesktopWidth)
- Get(WindowHeight)
- Get(WindowLeft)
- Get(WindowMode)
- Get(WindowName)
- Get(WindowTop)
- Get(WindowVisible)
- Get(WindowWidth)
- Get(WindowZoomLevel)
- Chapter 8 Logical functions
- Chapter 9 Number functions
- Chapter 10 Repeating functions
- Chapter 11 Summary functions
- Chapter 12 Text functions
- Exact
- Filter
- FilterValues
- GetAsCSS
- GetAsDate
- GetAsNumber
- GetAsSVG
- GetAsText
- GetAsTime
- GetAsTimestamp
- GetAsURLEncoded
- GetValue
- Hiragana
- KanaHankaku
- KanaZenkaku
- KanjiNumeral
- Katakana
- Left
- LeftValues
- LeftWords
- Length
- Lower
- Middle
- MiddleValues
- MiddleWords
- NumToJText
- PatternCount
- Position
- Proper
- Quote
- Replace
- Right
- RightValues
- RightWords
- RomanHankaku
- RomanZenkaku
- SerialIncrement
- Substitute
- Trim
- TrimAll
- Upper
- ValueCount
- WordCount
- Chapter 13 Text formatting functions
- Chapter 14 Time functions
- Chapter 15 Timestamp functions
- Chapter 16 Trigonometric functions
- Appendix A Glossary
Chapter 8
|
Logical functions 119
Chapter 8
Logical functions
Logical functions test for a condition to evaluate it as true or false. This is known as a
Boolean value. If the condition is true, FileMaker Pro returns a 1; if the condition is false,
FileMaker Pro returns a 0. You can use the keywords True and False with logical
functions and operators when a Boolean value is needed. Keyword True returns 1 and
keyword False returns 0.
Logical functions can also evaluate parameters such as text or arithmetic operations that
do not make a true or false statement, or in the case of the GetField function, return the
contents of another field.
Click a function name for details.
This function Returns
Case, page 120 One of several possible results based on a series of tests.
Choose, page 120 One result value, according to the integer value of a specified test.
Evaluate, page 121 Evaluates the specified expression
as a calculation.
EvaluationError, page
123
An error code, if any, from the specified expression.
GetAsBoolean, page 124 0 if the specified data has a value of 0 or is empty, otherwise returns 1.
GetField, page 124 The contents of the referenced field.
GetLayoutObjectAttribute
, page 125
The requested layout object attributes from the calculation's active window.
GetNthRecord, page 127 The contents of the referenced field from the requested record number.
If, page 129 One of two possible results depending on the value of the specified test.
IsEmpty, page 129 True(1) if the specified field is empty, if the related field, related table,
relationship, or file is missing, or if some other error occurs; otherwise returns
False(0).
IsValid, page 130 0 when a record contains an invalid value because of a data type mismatch
(text in a date field, for example).
IsValidExpression, page
131
True(1) if the syntax of the specified expression is correct.
Let, page 131 Sets variable to the result of value for the duration of the specified
expression.
Lookup, page 133 The value specified in the sourceField parameter using the relationships
in the relationships graph
.
LookupNext, page 134 The value specified in the sourceField parameter using the relationships
in the relationships graph.
Self, page 136 The content of the object in which the calculation is defined, otherwise
returns empty.