Functions Reference

Table Of Contents
FILEMAKER FUNCTIONS REFERENCE 183
Originated in
FileMaker Pro 9.0
Description
The Self function provides a way for a calculation to reference the object with which it is associated
without having to explicitly reference the object.
Use Self to create a single calculation formula that can be applied to different objects. The Self
function is helpful for conditional formatting calculations and tooltip calculations because it returns
the content of the layout object when that object has a value. You can also use the
Self function in
field definition calculations (including auto-enter and validation calculations) to return the value of
the corresponding field.
Examples
This example formula can be used in an object’s conditional formatting panel to set text formatting
when the number entered in the field is greater than 10.
self > 10 returns 1 (True) when applied to a layout field object whose value is greater than 10.
Use the following example in a layout object’s tooltip calculation to display different tooltip text
according to whether or not a value less than zero was entered.
if(self < 0; "Value is less than zero"; "Value is zero or greater")
Related topics
Contents
Functions reference (alphabetical list)