Adding and Configuring the Query Limits Button

*  To add and configure Query Limits button (Query Limits):

  1. In Interactive Reporting Studio, open a dashboard that contains the Query Limits component.

  2. Select the frame on which to add the button, and press Ctrl+D to enter Design mode.

  3. From the catalog pane, expand Graphics, and drag a picture object onto the frame.

  4. Navigate to QueryLimits.bmp in the Query Limits component directory.

  5. Position the button on the dashboard toolbar.

  6. Double-click the button.

    Properties is displayed.

  7. Enter picQL^Qiq_queryLimits as the object name, and click OK.

  8. Select the button, right-click, and select Scripts.

    Scripts Editor is displayed.

  9. In Scripts Editor, perform an action:

    • Enter this line of code

      ActiveDocument.Sections[txlMe.Text].Qiq_onControlClick(this.Parent,this)
    • Copy and paste the line of code from another button on the toolbar to avoid data entry errors

  10. Click OK.

  11. Optional: Add, configure, and name the corresponding gray button for the not selectable state.

  12. Press Ctrl+D to exit Design mode.

Proceed with configuring Query Limits.