You can create on-demand rules that can be run from data forms. On-demand rules are useful when you want to run only a subset of calculations to quickly see the results in the data form. For example, when you are working in a data form that has been set up to run a specific on-demand rule, you can enter data and then run the on-demand rule to quickly see the results of the calculation.
You create on-demand rules in the application rule file. The rules are created in a new subroutine and are identified by the OnDemand prefix, for example, OnDemand_Calculation. See Creating Rules Files.
To specify on-demand rules for a data form:
Click New, and then Data Form, or select Actions, then New, and then Data Form.
The Forms Designer is displayed by default.
Tip: | If the Designer page is not automatically displayed, click Designer, or select Actions, and then Designer. |
In the Form Details panel, for On Demand Rules, use one of these methods:
If you know the rule names, enter them in the text box in a comma-separated list.
To search for available rules, click the Edit button next to the text box, then from the Available Rules pop-up dialog box, select one or more rules to use in the form and click OK.