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.

CALL_OLE_ built-in<br />

Description<br />

30<br />

Passes control to the identified OLE object’s method. Receives a return value of the specified type.<br />

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

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

Syntax<br />

FUNCTION CALL_OLE_CHAR<br />

(obj OLEOBJ, memberid PLS_INTEGER)<br />

RETURN returnval VARCHAR2;<br />

...or...<br />

FUNCTION CALL_OLE_NUM<br />

(obj OLEOBJ, memberid PLS_INTEGER)<br />

RETURN returnval NUMBER;<br />

...or...<br />

FUNCTION CALL_OLE_OBJ<br />

(obj OLEOBJ, memberid PLS_INTEGER)<br />

RETURN returnval OLEOBJ;<br />

...or...<br />

FUNCTION CALL_OLE_VAR<br />

(obj OLEOBJ, memberid PLS_INTEGER)<br />

RETURN returnval OLEVAR;<br />

Built-in Type unrestricted function<br />

Returns the method’s return value in the specified format<br />

Parameters<br />

obj Name of the OLE object.<br />

memberid Member ID of the object’s method.<br />

Usage Notes<br />

• Before this call is issued, the number, type, and value of the arguments must have been established,<br />

using the INIT-OLEARGS and ADD-OLEARGS procedures.<br />

• The method can raise a FORM_OLE_FAILURE exception. If so, you can use the function<br />

LAST_OLE_EXCEPTION to obtain more information.

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

Saved successfully!

Ooh no, something went wrong!