Set up Values and Parameters for a Range Control

Prev Next
  1. Drag the Range Control block onto the workspace and connect it to a Query Data block.

  2. In the Range Control block's properties, specify the Pane in which to place the range slider.

  3. Optionally, use the Prompt field to provide some text to display with the Range  Control.

  4. Specify the Minimum and Maximum values for the range using either the fields in the Input Bindings or the manual settings. Settings in the Input Bindings will take precedence over manual entry.

  5. If you wish to set an initial value for the lower and upper range, click the arrow next to Initial Values (Optional) and enter the desired Initial lower range value and the Initial upper range value.

  6. Select from the drop-down list if you want this to be an entered value, or a percent of  max. Click the Apply button.

  7. Then select the Query Data block and click on  Input Bindings.

  8. In the Query section, replace the relevant portion of the SQL statement with the parameters to which the Range Control block will be passing  values using @{ } as shown in the example  (@{lowerCPU} and @{upperCPU}) below.

  9. Click the Apply button to apply the parameters. The parameters will display in the Input Bindings section for the Query Data block.

  10. Use the drop-down menu under the parameters displayed in the Input Bindings (lowerCPU and upperCPU in the example above) to select the range values.

    NOTE: The .values[0] = the lower range value, and .values[1] = the upper range value where  = the name of the Range block.

  11. When you are done, click the Apply button.