In this section: How to: |
You can insert active form controls into a compound document to act as filters on the reports of the document. You can also cascade (chain) controls to populate based on the selections of the previous controls. The output format of the compound document must be active report, active Flash, or active PDF in order to insert active form controls.
An active form control appears in the top-left corner of the canvas.
You can now add the field that the form control filters on. For more information, see Associating a Field With a Control.
Note: Once an active form control is added to the canvas, the compound document is locked in an active output format. You cannot change out of active report, active Flash, or active PDF format if there are controls present on the canvas. To switch to a non-active output format, all controls must be removed.
How to: |
You can bind a field to an inserted active form control from the Query pane, by dragging the desired column directly from the report on the canvas, or through the Active Dashboard Properties dialog box. Setting the target reports, cascading controls, and changing the filter conditions can only be done through the Active Dashboard Properties dialog box. For more information, see Using the Active Dashboard Properties Dialog Box.
The fields of the report will be populated in the Query pane.
Note: If the report is included as an existing report, you are not able to bind its fields to a control.
The control updates with the options from the field, as shown in the following image.
Note: If the report is included as an existing report, you are not able to bind its fields to a control.
How to: |
You can use the Active Dashboard Properties dialog box to bind a field to an active form control, change the filter condition of an active form control, set the target for the form control filters, and set up cascading form controls.
You can add or remove target reports from an active form control through the Active Dashboard Properties dialog box. When you bind a field to an active form control, the default target report is the report you dragged the field from. More target reports can be added from the Active Dashboard Properties dialog box.
Reports that can be target reports must meet one of the following requirements:
If a report is eligible to be a target report because of an AS name and that AS name is changed, the report is automatically removed.
Note: You can multi-select candidate reports by pressing the Ctrl key and selecting multiple reports.
Note: You can remove reports from the Targets list box by selecting reports there and clicking the Remove from List arrow.
When you have more than one control on the canvas you can cascade controls to populate based on the selections of the previous controls. Cascading controls have a parent-child relationship, in which the parent filters the available options of the child. An active form control can be the parent of more than one other control but cannot be a child of more than one control.
By default, a cascade named Cascade1 will appear in the Cascades section of the Active Dashboard Properties dialog box.
You can click the Create a new cascade button to create a new cascade.
You can click on the Delete selected cascade button to delete the selected cascade.
Note: You can remove controls from the Selected Prompts list box by selecting controls there and clicking the Remove from List arrow.
By default, the hierarchy of the controls is determined by the order they are added to the Selected Prompts list. The cascade of the controls is from the top, down. The controls that come first in the Selected Prompts list are the parents of the lower controls.
WebFOCUS |