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.

ADD_PARAMETER examples<br />

/*<br />

** Built-in: ADD_PARAMETER<br />

** Example: Add a value parameter to an existing Parameter<br />

** List ’TEMPDATA’, then add a data parameter to<br />

** the list to associate named query ’DEPT_QUERY’<br />

** with record group ’DEPT_RECORDGROUP’.<br />

*/<br />

DECLARE<br />

pl_id ParamList;<br />

BEGIN<br />

pl_id := Get_Parameter_List(’tempdata’);<br />

IF NOT Id_Null(pl_id) THEN<br />

Add_Parameter(pl_id,’number_of_copies’,TEXT_PARAMETER,’19’);<br />

Add_Parameter(pl_id, ’dept_query’, DATA_PARAMETER,<br />

’dept_recordgroup’);<br />

END IF;<br />

END;<br />

15

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

Saved successfully!

Ooh no, something went wrong!