P. 1
Form Builder Referencia

Form Builder Referencia

|Views: 1,916|Likes:
Published by Daniel Viana

More info:

Published by: Daniel Viana on Mar 31, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/16/2013

pdf

text

original

Description

Displays a list of values (LOV) window at the given coordinates, and returns TRUE if the operator
selects a value from the list, and FALSE if the operator Cancels and dismisses the list.

Syntax

SHOW_LOV
(lov_id LOV);
SHOW_LOV
(lov_id LOV,
x NUMBER,
y NUMBER);

SHOW_LOV

(lov_name VARCHAR2);

SHOW_LOV

(lov_name VARCHAR2,
x NUMBER,
y NUMBER);

Built-in Type unrestricted function

Returns BOOLEAN

Enter Query Mode yes

Parameters

lov_id

Specifies the unique ID that Form Builder assigns the LOV when created.
Use the FIND_LOV built-in to return the ID to an appropriately typed
variable. The data type of the ID is LOV.

lov_name

The name you gave to the LOV when you defined it. The data type of the
name is VARCHAR2.

x

Specifies the x coordinate of the LOV.

y

Specifies the y coordinate of the LOV.

Usage Notes

When SHOW_LOV is used to display an LOV, Form Builder ignores the LOV’s Automatic Skip
property.

If you want to move the cursor to the next navigable item, use the LIST_VALUES built-in.

SHOW_LOV restrictions

If the lov_name argument is not supplied and there is no LOV associated with the current item, Form
Builder issues an error.

If the record group underlying the LOV contains 0 records, the BOOLEAN return value for
SHOW_LOV will be FALSE.

437

SHOW_LOV examples

/*
** Built-in: SHOW_LOV
** Example: Display a named List of Values (LOV)
*/
DECLARE

a_value_chosen BOOLEAN;

BEGIN

a_value_chosen := Show_Lov(’my_employee_status_lov’);
IF NOT a_value_chosen THEN
Message(’You have not selected a value.’);
Bell;
RAISE Form_trigger_Failure;

END IF;

END;

438

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->