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.

GET_OLEARG_ built-in<br />

Description<br />

Obtains the nth argument from the OLE argument stack.<br />

There are four versions of the function (denoted by the value in type), one for each of the argument types<br />

CHAR, NUM, OBJ, and VAR.<br />

Syntax<br />

FUNCTION GET_OLEARG_CHAR<br />

(which NUMBER)<br />

RETURN olearg VARCHAR2;<br />

...or...<br />

FUNCTION GET_OLEARG_NUM<br />

(which NUMBER)<br />

RETURN olearg NUMBER;<br />

...or...<br />

FUNCTION GET_OLEARG_OBJ<br />

(which NUMBER)<br />

RETURN olearg OLEOBJ;<br />

...or...<br />

FUNCTION GET_OLEARG_VAR<br />

(which NUMBER, persistence BOOLEAN)<br />

RETURN olearg OLEVAR;<br />

Built-in Type unrestricted function<br />

Returns the indicated argument. Note that the type varies according to the form of the function<br />

used.<br />

Parameters<br />

which A relative number indicating which argument in the OLE<br />

argument stack should be retrieved.<br />

persistence Controls the persistence of the OLEVAR argument after<br />

its retrieval. This is an optional parameter; if not<br />

specified, the default value is FALSE (that is, nonpersistent).<br />

Usage Notes<br />

• Use this function to retrieve arguments whose value might change as a result of the method call.<br />

• In contrast to a returned OLEVAR argument, whose persistence can be user-controlled, a returned<br />

OLEOBJ argument is always set to be non-persistent.<br />

208

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

Saved successfully!

Ooh no, something went wrong!