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.
Built-in Type restricted procedure
Enter Query Mode yes
** 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;