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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

172<br />

*/<br />

DECLARE<br />

curform VARCHAR2(40);<br />

blkname VARCHAR2(40);<br />

BEGIN<br />

curform := :System.Current_<strong>Form</strong>;<br />

blkname := Get_<strong>Form</strong>_Property(curform,FIRST_BLOCK);<br />

END;<br />

Example 2<br />

/*<br />

** Built-in: GET_FORM_PROPERTY<br />

** Example: Evaluate the current setting of the<br />

** Validate property.<br />

*/<br />

BEGIN<br />

IF Get_<strong>Form</strong>_Property(’curform’, VALIDATION) = ’FALSE’<br />

THEN<br />

Message (’<strong>Form</strong> currently has Validation turned OFF’);<br />

END IF;<br />

END;

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

Saved successfully!

Ooh no, something went wrong!