What  is  the  built-in  used  to  get  and  set lov properties during run-time?

       Get_lov_property      Set_lov_property Record Group

Showing Answers 1 - 2 of 2 Answers

g_sidhu

  • Feb 14th, 2008
 

GET_LOV_PROPERTY: Returns information about a specified list of values (LOV). You must issue a call to the built-in once for each property value you want to retrieve.

/*
** Built-in: GET_LOV_PROPERTY **
Example: Can get the width/height of the LOV. */
DECLARE the_width NUMBER; the_height NUMBER; lov_id LOV;
BEGIN lov_id := Find_LOV('My_LOV_1');
the_width := Get_LOV_Property(lov_id, WIDTH);
the_height := Get_LOV_Property(lov_id,HEIGHT);
END;

SET_LOV_COLUMN_PROPERTY: Sets the given LOV property for the given LOV.

  Was this answer useful?  Yes

g_sidhu

  • Feb 14th, 2008
 

/*
** Built-in: SET_LOV_PROPERTY ** Example: if LOV is currently base on GROUP1, ** make LOV use GROUP2 */
DECLARE lov_id LOV;
BEGIN lov_id := Find_LOV('My_LOV_1');
IF Get_LOV_Property(lov_id,GROUP_NAME) = 'GROUP1' THEN
Set_LOV_Property(lov_id,GROUP_NAME,'GROUP2'); ENDIF; END;

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions