User Tools

Site Tools


takeaccepted_handle_acceptance_of_error_indicators_1.htm
Navigation:  ABC Library Reference > RuleManager > RulesManager Methods >====== TakeAccepted (handle acceptance of error indicators) ====== Previous pageReturn to chapter overviewNext page

TakeAccepted( control )

blk2blue.jpg

TakeAccepted Determines whether or not the specified control is an error indicator for one of the Rule objects monitored by RulesCollection objects which are in turn managed by this RulesManager object. If so, the TakeAccepted method displays the description of the rule and provides the user with an option to view the status of all broken rules.
control A numeric constant, variable, EQUATE, or expression that contains a field equate value. The control indicated by this value is assumed to have been Accepted.

Return Data Type:     BYTE

Example:

ThisWindow.TakeAccepted PROCEDURE

ReturnValue          BYTE,AUTO

Looped BYTE

 CODE

 BusinessRulesManager.TakeAccepted(Accepted())! RulesManager trap to determine

                                              ! if error-indicator was clicked

 LOOP                  

   IF Looped

     RETURN Level:Notify

   ELSE

     Looped = 1

   END

   CASE ACCEPTED()

   END

 END

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