LOV in Oracle FormsLOV (List of Values) in Oracle Forms are used to display the associated values while inserting values in forms. It makes the user easier to enter data on the forms. You can assign values in LOV statically or dynamically and can be displayed on the form manually or automatically. Filters can also be added on LOV to filter before display the list. Here I am writing some easy steps for creating List of Values in Oracle Forms using wizard. It may help you to learn the process of creating LOV in your Oracle Form.
Steps for Creating LOV in Oracle Forms Using Wizard
To add a new List of Values, at first go to Object Navigator and click on LOVs option and click on + sign above, then the following dialog box will appear.
Select the option "Use the LOV Wizard" to create from Wizard.
Select the option "New Record Group base on query" to create new record group or select "Existing Record Group" to use existing Record Group and got to next.
Click on Build SQL Query button, give User Name, Passport and Database name and connect to the Database. Select the required Table from where you want to take the values.
Select the Columns which you want to display in the list and click on OK. Select all the columns on the LOV columns and go to next.
Give the title what you would like to display in LOV window. Also select width, height and position of the LOV window.
Give the no of rows you want to display in LOV and select the check box having "Let the user filter records before displaying them", if you want to display the records with filter. Go to next and finish the wizard. Now the LOV is successfully created.