Home › Discussions › Questions & Answers › Custom LOV Creation and Filtering Configuration
Custom LOV Creation and Filtering Configuration
Customer · · Questions & Answers · 9 replies
I need to create a list of values for a specific parameter based on a complex custom SQL query. I don’t want this LOV to be shared with any other report, and I need to define the validation query right here in the report setup. Which parameter type should I use?
9 replies
You should select the ‘LOV Custom’ parameter type . This type is specifically used to create an ad hoc LOV based on an SQL statement solely for the validation of the current report parameter . Once selected, you double-click the ‘LOV Query’ field to enter the required SQL statement . This ensures that any modification to this LOV will not impact other reports, unlike shared LOVs of type ‘LOV’ .
What are the required columns for the LOV SQL, and how is the returned data used in the main report execution?
The LOV SQL must include the columns `value` and `description` . It may optionally start with an `id` column . If an `id` column is included in the select clause, the value from this column is used as the parameter’s bind value for the main report execution . If the `id` column is excluded, the value from the `value` column is used for binding the parameter restriction .
I have a large LOV with thousands of potential values. When users open the report, the run window loads slowly because it tries to fetch all values upfront. How can I optimize this?
To mitigate performance issues with large LOVs, you should check the ‘Filter Before Display’ setting . By default, this setting is unchecked, and Blitz Report queries all possible parameter values in the background upon selecting the report . Checking ‘Filter Before Display’ forces the user to enter a (partial) value before the LOV is displayed, thereby restricting the dataset queried by the form, which significantly improves the initial load time .
What is the primary difference between using ‘LOV Custom’ and ‘LOV Oracle’ parameter types?
Both are used for parameter validation . However, the key limitation of ‘LOV Oracle’ is that you cannot directly edit the underlying LOV query from the Blitz Report form, as the value set must be maintained via the standard Oracle Forms interface . Conversely, ‘LOV Custom’ allows immediate, ad hoc SQL modification directly within the Blitz Report interface .
If I create an LOV Custom and later realize I want to share it, can I convert it to a shared LOV?
Yes, if you decide that your custom LOV query would be useful for other report parameters, you can easily promote it to a shared LOV . To do this, click on the ‘Save as shared LOV’ button within the LOV definition window .
- You must be logged in to reply to this post.
Sign in with LinkedIn or Google to take part.