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.

RUN_PRODUCT built-in<br />

Description<br />

Invokes one of the supported <strong>Oracle</strong> tools products and specifies the name of the module or module to be<br />

run. If the called product is unavailable at the time of the call, <strong>Form</strong> <strong>Builder</strong> returns a message to the end<br />

user.<br />

If you create a parameter list and then reference it in the call to RUN_PRODUCT, the form can pass text<br />

and data parameters to the called product that represent values for command line parameters, bind or<br />

lexical references, and named queries. Parameters of type DATA_PARAMETER are pointers to record<br />

groups in <strong>Form</strong> <strong>Builder</strong>. You can pass DATA_PARAMETERs to Report <strong>Builder</strong> and Graphics <strong>Builder</strong>,<br />

but not to <strong>Form</strong> <strong>Builder</strong>.<br />

To run a report from within a form, you can alternatively use the dedicated report integration built-in<br />

RUN_REPORT_OBJECT .<br />

Syntax<br />

PROCEDURE RUN_PRODUCT<br />

(product NUMBER,<br />

module VARCHAR2,<br />

commmode NUMBER,<br />

execmode NUMBER,<br />

location NUMBER,<br />

paramlist_id VARCHAR2,<br />

display VARCHAR2);<br />

PROCEDURE RUN_PRODUCT<br />

(product NUMBER,<br />

module VARCHAR2,<br />

commmode NUMBER,<br />

execmode NUMBER,<br />

location NUMBER,<br />

paramlist_name VARCHAR2,<br />

display VARCHAR2);<br />

Built-in Type unrestricted procedure<br />

Enter Query Mode yes<br />

Parameters<br />

product Specifies a numeric constant for the <strong>Oracle</strong> product you want to invoke:<br />

FORMS specifies a Runform session. GRAPHICS specifies Graphics<br />

<strong>Builder</strong>. REPORTS specifies Report <strong>Builder</strong>. BOOK specifies <strong>Oracle</strong><br />

Book.<br />

module Specifies the VARCHAR2 name of the module or module to be executed<br />

by the called product. Valid values are the name of a form module, report,<br />

Graphics <strong>Builder</strong> display, or <strong>Oracle</strong> Book module. The application looks<br />

for the module or module in the default paths defined for the called<br />

product.<br />

commmode Specifies the communication mode to be used when running the called<br />

product. Valid numeric constants for this parameter are SYNCHRONOUS<br />

and ASYNCHRONOUS.<br />

347

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

Saved successfully!

Ooh no, something went wrong!