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.

LIST_VALUES built-in<br />

Description<br />

LIST_VALUES displays the list of values for the current item, as long as the input focus is in a text item<br />

that has an attached LOV. The list of values remains displayed until the operator dismisses the LOV or<br />

selects a value.<br />

By default, LIST_VALUES uses the NO_RESTRICT parameter. This parameter causes <strong>Form</strong> <strong>Builder</strong><br />

not to use the automatic search and complete feature. If you use the RESTRICT parameter, <strong>Form</strong><br />

<strong>Builder</strong> uses the automatic search and complete feature.<br />

Automatic Search and Complete Feature With the automatic search and complete feature, an LOV<br />

evaluates a text item’s current value as a search value. That is, if an operator presses [List] in a text item<br />

that has an LOV, <strong>Form</strong> <strong>Builder</strong> checks to see if the item contains a value.<br />

If the text item contains a value, <strong>Form</strong> <strong>Builder</strong> automatically uses that value as if the operator had entered<br />

the value into the LOV’s search field and pressed [List] to narrow the list.<br />

If the item value would narrow the list to only one value, <strong>Form</strong> <strong>Builder</strong> does not display the LOV, but<br />

automatically reads the correct value into the field.<br />

Syntax<br />

PROCEDURE LIST_VALUES<br />

(kwd NUMBER);<br />

Built-in Type restricted procedure<br />

Enter Query Mode no<br />

Parameters<br />

kwd Specifies one of the following constants:<br />

270<br />

NO_RESTRICT Specifies that <strong>Form</strong> <strong>Builder</strong> will not use the automatic<br />

search and complete feature.<br />

RESTRICT Specifies that <strong>Form</strong> <strong>Builder</strong> will use the automatic search and<br />

complete feature.

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

Saved successfully!

Ooh no, something went wrong!