| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > WindowManager > WindowManager Methods >====== DeleteAction(execute delete record process) ====== | [[changerecord execute change record process .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[init initialize the windowmanager object .htm|{{btn_next_n.gif|Next page}}]] | | || **DeleteAction, VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} The **DeleteAction **method performs the necessary database delete operations when called. **DeleteAction** returns Level:Benign to indicate successful a delete operation. **Implementation:** The DeleteAction method is called by the TakeCompleted method when Request is set to DeleteRecord. **Return Data Type:     **BYTE **Example:** **WindowManager.TakeCompleted PROCEDURE** **  CODE** **  SELF.SaveHistory()** **  CASE SELF.Request** **  OF InsertRecord** **    RETURN SELF.****InsertAction()** **  OF ChangeRecord** **    RETURN SELF.****ChangeAction()** **  OF DeleteRecord** **    RETURN SELF.****DeleteAction()** **  OF SaveRecord** **     CASE SELF.OriginalRequest** **     OF InsertRecord** **        RETURN SELF.SaveOnInsertAction()** **     OF ChangeRecord** **        RETURN SELF.SaveOnChangeAction()** **     END** **  END** **  RETURN Level:Benign** **See Also:     **[[takecompleted a virtual to complete an update form .htm|TakeCompleted]] , [[request database request .htm|Request]] , [[changerecord execute change record process .htm|ChangeRecord]] , [[insertrecord execute insert record activity .htm|InsertRecord]]