Dropdown and Option
Applies to: Kyvos Reporting
When a parameter's Input Type is set to Dropdown or Option, you can configure the list of values in one of two ways:
To Set Predefined Values
Use predefined values when the parameter values are known in advance and are not dependent on external data sources.
Steps:
In the Dropdown Source section, select Pre-Defined.
In the Display Name field, enter the label to be shown on the Input Parameter Form (IPF).
In the Value field, enter the value that will be passed during report execution.
Click the Add button to include the value in the list.
Optionally, click the Upload button to import a list of values from a file. When uploading, you can specify the Enclosed By, Separator, and other file-specific parsing options.
List Management Options:
Action | Description |
|---|---|
Edit | Select a value, update the fields, and click the Edit button to modify an existing item. |
Delete Delete All | Select an item and click the Delete button to remove it. Click Delete All to clear the entire list. |
Reorder | Use the Up Arrow or Down Arrow buttons to change the display order of values in the list. |
To Set Dynamic Values
Use dynamic values when the dropdown list needs to reflect data stored in a database.
Steps:
In the Dropdown Source section, select Dynamic.
In the Source Statement field, enter the SQL query to fetch the values.
Tip: You may enter just the table name (e.g.,
PRODUCT) instead of writing the full SQL (e.g.,SELECT * FROM PRODUCT).
Click Verify to validate the query.
If the query is valid, its fields will be available in the Display Column and Value Column dropdowns.
If invalid, an error message will appear.
In Display Column, select the field to be shown to users on IPF (e.g.,
SALESPERSON).In Value Column, select the field whose values will be used during report execution (e.g.,
SALESPERSONID).
Displaying Parameter Name as a Report Control
You can also use a parameter as a control element on a report layout.
Check the Display Parameter Name option and specify a name.
This name will appear as a report control in the report designer, allowing you to drag and drop it onto the Canvas.
Note
This option is not applicable for Ad hoc reports.