Home Discussions Questions & Answers LOV Configuration and Parameter Binding

LOV Configuration and Parameter Binding

Avatar photoCustomer July 17, 2020 at 5:50 pm

When setting up a parameter with a custom LOV, what are the mandatory columns I must select in the LOV SQL query, and which column is actually used as the parameter’s bind value during report execution?

Viewing 6 reply threads
  • Author
    Replies
    • Support July 19, 2020 at 8:17 pm  

      The LOV query must select the two mandatory columns value and description. It may also include an optional id column at the beginning of the select clause. If the optional id column is included, this value takes precedence and is used as the parameters `:bind` value for report execution; otherwise, the value column is used for binding.

    • Avatar photoCustomer July 20, 2020 at 11:36 pm  

      If I start with a shared LOV (type LOV) but realize I need to modify the query only for my current report, what is the best practice to avoid affecting other reports?

    • Support July 23, 2020 at 2:05 am  

      If you modify a shared LOV’s query via the parameter definition, the changes affect all parameters referencing it. To modify it for the current parameter only, you should switch the parameter type to LOV Custom before modifying the query. This creates an ad hoc LOV unique to your report.

    • Avatar photoCustomer July 23, 2020 at 3:51 pm  

      I noticed there are ‘Validate From List’ and ‘Filter Before Display’ checkboxes. What function do these serve?

    • Support July 24, 2020 at 8:33 pm  

      The Validate From List checkbox, when checked, enforces selection of a record from the LOV and does not allow the use of wildcards. The Filter Before Display setting is specifically used to avoid performance issues for large LOVs. If its checked, the user is prompted to enter a partial value before the LOV displays, preventing a slow initial query of all possible values.

    • Avatar photoCustomer July 25, 2020 at 3:48 pm  

      And if I define an LOV custom query and want to share it later?

    • Support July 27, 2020 at 4:37 am  

      If you are using LOV Custom, you can click on the Save as shared LOV button within the LOV Query field window to promote that ad hoc query into a reusable, shared LOV definition.

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: