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.

GET_APPLICATION_PROPERTY built-in<br />

Description<br />

Returns information about the current <strong>Form</strong> <strong>Builder</strong> application. You must call the built-in once for each<br />

value you want to retrieve.<br />

Syntax<br />

FUNCTION GET_APPLICATION_PROPERTY<br />

(property NUMBER);<br />

Built-in Type unrestricted function<br />

Returns VARCHAR2<br />

Enter Query Mode yes<br />

Parameters<br />

property Specify one of the following constants to return information about your<br />

application:<br />

154<br />

APPLICATION_INSTANCE Returns the pointer value of an instance<br />

handle. Only applies to the Microsoft Windows platform. For all other<br />

platforms, <strong>Form</strong> <strong>Builder</strong> returns NULL.<br />

BUILTIN_DATE_FORMAT Returns the current value of the Builtin<br />

date format mask (which is held in the Builtin_Date_<strong>Form</strong>at property).<br />

CALLING_FORM Returns the name of the calling form if the current<br />

form was invoked by the CALL_FORM built-in. If the current form is not<br />

a called form, <strong>Form</strong> <strong>Builder</strong> returns NULL.<br />

CONNECT_STRING Returns the database connect string of the current<br />

operator. If the current operator does not have a connect string, <strong>Form</strong><br />

<strong>Builder</strong> returns NULL.<br />

CURRENT_FORM Returns the .FMX file name of the form currently<br />

being executed.<br />

CURRENT_FORM_NAME Returns the name of the current form as<br />

indicated by the form module Name property.<br />

CURSOR_STYLE Returns the name of the current cursor style property.<br />

Valid VARCHAR2 return values are BUSY, CROSSHAIR, DEFAULT,<br />

HELP, and INSERTION.<br />

DATASOURCE Returns the name of the database that is currently in use.<br />

Valid return values are NULL, ORACLE, DB2, NONSTOP, TERADATA,<br />

NCR/3600/NCR/3700, and SQLSERVER. This call returns the database<br />

name only for connections established by <strong>Form</strong> <strong>Builder</strong>, not for connections<br />

established by On-Logon triggers.<br />

DATE_FORMAT_COMPATIBILITY_MODE Returns the compatibility<br />

setting contained in this property.

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

Saved successfully!

Ooh no, something went wrong!