CheckRule (check a particular rule)

Top  Previous  Next


CheckRule( rule,display)


Checks a particular rule and optionally sets the error indicator for its associated control.


A string constant, variable, EQUATE, or expression that contains the name of this rule. If rule names are not unique within the collection managed by this RuleManager object, results may be unpredictable.


A Boolean constant, variable, EQUATE, or expression that, if True, will cause the error indicator to be set for the control associated with this rule.

Return Data Type:     BYTE


   Customer.CheckRule(ZipOK,True) ! Validate zip code and set indicator if invalid