11.01.2013 Views

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

Oracle Forms Developer – Form Builder Reference, Volume 1

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CLEAR_EOL built-in<br />

Description<br />

Clears the current text item’s value from the current cursor position to the end of the line.<br />

Syntax<br />

PROCEDURE CLEAR_EOL;<br />

Built-in Type restricted procedure<br />

Enter Query Mode yes<br />

CLEAR_EOL examples<br />

/*<br />

** Built-in: CLEAR_EOL<br />

** Example: Clears out the contents of any number field when<br />

** the end user navigates to it.<br />

** trigger: When-New-Item-Instance<br />

*/<br />

BEGIN<br />

IF Get_Item_Property(:System.trigger_Item, DATATYPE) =<br />

’NUMBER’ THEN<br />

Clear_Eol;<br />

END IF;<br />

END;<br />

37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!