How to Create Static LOV in Oracle Forms?

In Oracle Forms, LOVs are based on the record group and a record group can be static or based on a query. If we want to create a static LOV then actually we should create a static record group first then assign that record group to the LOV to make it static. In this article, I am explaining the steps to create static LOV in Oracle Forms.

Follow These Steps to Create Static LOV (List of Values) in Oracle Forms.

  1. In the Oracle Form's object navigator, click on the record group node then click on the + icon to create a new record group.
  2. A New Record Group window will appear, select the static values radio button and click on OK.
  3. Then Column Specification window will appear, specify the column heading in the column names section and specify values for that column below in the column values section. As shown in the below example.

static lov in oracle forms

  1. Then click on the OK button and you will return to object navigator.
  2. There you can change the name of the record group.
  3. Then click on the LOV node and click on the + icon to create a new LOV.
  4. A New LOV window will appear, select the Use the LOV Wizard option and click on OK.
  5. Then from the next screen, select the option Existing Record Group and select the newly created static record group from the list and click on the Next button.
  6. In the next window, specify the LOV columns by selecting each column from the left side list and click on the Next button.
  7. Now specify the data block field for the return value and click on the Next button.
  8. Then specify the LOV title and click Finish.
  9. You will be back to navigator window, there change the name for the newly created static LOV.

Your new Static LOV is now created, you can use it in your Oracle Forms application.

See also:


Leave a Comment