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.

CREATE_OLEOBJ built-in<br />

Description<br />

In its first form, creates an OLE object, and establishes the object’s persistence. In its second form, alters<br />

the persistence of a previously-instantiated OLE object.<br />

Syntax<br />

FUNCTION CREATE_OLEOBJ<br />

(name OLEOBJ, persistence_boolean := TRUE)<br />

RETURN objpointer OLEOBJ;<br />

...or...<br />

FUNCTION CREATE_OLEOBJ<br />

(localobject VARCHAR2,<br />

persistence_boolean := TRUE)<br />

RETURN objpointer OLEOBJ;<br />

Built-in Type unrestricted function<br />

Returns pointer to the OLE object<br />

Parameters<br />

name The program ID of the OLE object’s server.<br />

localobject A pointer to the OLE object whose status is to be<br />

changed from non-persistent to persistent.<br />

persistence_boolean A boolean value of TRUE establishes the object as<br />

persistent. This is an optional parameter. If not<br />

supplied, the default value is persistent.<br />

Usage Notes<br />

A persistent object exists across trigger invocations. A non-persistent object exists only as long as the<br />

trigger that spawned the call runs.<br />

60

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

Saved successfully!

Ooh no, something went wrong!