Returns the name of the current field.
@ThisName
name
Text. The name of the current field.
This @function returns null outside a field formula.
This @function is useful in writing portable code. Use @ThisName to construct references to other fields (for example, in @GetField) that have similar names.
Suffix := @Right(@ThisName; "_");
QuantityFld := "Quantity_" + Suffix;
CostFld := "Cost_" + Suffix;
@GetField(QuantityFld) * @GetField(CostFld)
result := @Round(2.66);
@Prompt([Ok];@ThisName;@Text(result));
result + 2
This example returns 3 in the "roundNumber" dialog box and 5 in the roundNumber field when the form displays.
CurrentField property of LotusScript® NotesUIDocument class