RuleDefn Class Methods
In this section, we discuss the RuleDefn class methods. The methods are described in alphabetical order.
Syntax
AddRuleExpression(&Expr)
Description
Use the AddRuleExpression method to add a rule expression to the rule. Use the classes in the RuleExpression subpackage to create the expression specified by &Expr.
After you have finished adding rule expressions to the rule, you need to use the GenerateRule method to generate the rule.
Parameters
Field or Control |
Definition |
---|---|
&Expr |
Specify the rule expression that you want added to the rule definition. |
Returns
None.
Syntax
GenerateRule()
Description
Use the GenerateRule method to create the rule string for the rule that represents the current rule expressions that have been added using AddRuleExpression.
Parameters
None.
Returns
None.