| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > RuleManager > RulesManager Methods >====== TakeAccepted (handle acceptance of error indicators) ====== | [[setenumerateicons set icons for broken rules display 1.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[selectfileclass.htm|{{btn_next_n.gif|Next page}}]] | | || **TakeAccepted( **//control// **)** {{blk2blue.jpg|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**