Functions Reference

Table Of Contents
Chapter 8
|
Logical functions 125
Examples
Assume you have the following fields: Arrow and Target. Arrow contains the text string
Target, and Target contains the text string Bullseye.
GetField(“Arrow”) returns Target. Notice the use of quotation marks around
Arrow to indicate the literal string is the fieldName parameter.
GetField(Arrow) returns Bullseye. Notice the absence of quotation marks to
indicate the value stored in the Arrow field is the fieldName parameter.
Assume you have the following two fields: FirstName and LastName. FirstName contains
the text string Jane, and LastName contains the text string Public.
GetField(“FirstName”)&” “&GetField(“LastName”) returns the text string
Jane Public.
GetSummary(GetField(“Field1”), GetField(“Field” & “2”)) performs a
summary on the summary field Field1, using a break field of Field2.
GetLayoutObjectAttribute
Format
GetLayoutObjectAttribute(objectName;attributeName{;repetitionNumb
er; portalRowNumber})
Parameters
objectName - the name of a named layout object on the current layout
attributeName - the name of a supported attribute (see below)
repetitionNumber - the repetition number (for repeating fields)
portalRowNumber - the number of the row in the portal
Parameters in curly braces {} are optional.
Data type returned
text