A script-enabled browser is required for this page to function properly.

CLEAR_EOL Built-in

Description

Clears the current text item's value from the current cursor position to the end of the line.

Note: If you call CLEAR_EOL from a Menu Item or Button, you may find the entire contents of the target field being cleared, rather
than just the contents at the insertion point. To prevent this behavior, set the
Keep Cursor Position property for the item to Yes.

Syntax

PROCEDURE CLEAR_EOL;

Built-in Type restricted procedure

Enter Query Mode yes

CLEAR_EOL Example

** Built-in: CLEAR_EOL
** Example: Clears out the contents of any number field when
** the end user navigates to it.
** Trigger: When-New-Item-Instance
*/
BEGIN
IF Get_Item_Property(:System.Trigger_Item, DATATYPE) = 'NUMBER' THEN
Clear_Eol;
END IF;
END;