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.

ADD_OLEARGS built-in<br />

Description<br />

Establishes the type and value of an argument that will be passed to the OLE object’s method.<br />

Syntax<br />

PROCEDURE ADD_OLEARG<br />

(newvar NUMBER, vtype VT_TYPE := VT_R8);<br />

...or...<br />

PROCEDURE ADD_OLEARG<br />

(newvar VARCHAR2, vtype VT_TYPE := VT_BSTR);<br />

...or...<br />

PROCEDURE ADD_OLEARG<br />

(newvar OLEVAR, vtype VT_TYPE := VT_VARIANT);<br />

Built-in Type unrestricted procedure<br />

Parameters<br />

newvar The value of this argument. Its type (NUMBER,<br />

VARCHAR2, or OLEVAR) is its FORMS or PL/SQL data<br />

type.<br />

vtype The type of the argument as understood by the OLE method<br />

Usage Notes<br />

For a NUMBER argument, the default is VT_TYPE :=<br />

VT_R8.<br />

For a VARCHAR2 argument, the default is VT_TYPE :=<br />

VT_BSTR.<br />

For an OLEVAR argument, the default is VT_TYPE :=<br />

VT_VARIANT.<br />

A separate ADD_OLEARG call is needed for each argument to be passed. The calls should be in order,<br />

starting with the first argument.<br />

A list of the supported OLE VT_TYPEs can be found in OLE Variant Types .<br />

13

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

Saved successfully!

Ooh no, something went wrong!