User Tools

Site Tools


checkrule_check_a_particular_rule_.htm
Navigation:  ABC Library Reference > RuleManager > RulesCollection Class Methods >====== CheckRule (check a particular rule) ====== Previous pageReturn to chapter overviewNext page

CheckRule( rule,display)

blk2blue.jpg

CheckRule Checks a particular rule and optionally sets the error indicator for its associated control.
rule 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.
display 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

Example:

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

checkrule_check_a_particular_rule_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1