DeleteAction(execute delete record process)

Top  Previous  Next


DeleteAction, VIRTUAL

The DeleteAction method performs the necessary database delete operations when called. DeleteAction returns Level:Benign to indicate successful a delete operation.


The DeleteAction method is called by the TakeCompleted method when Request is set to DeleteRecord.


Return Data Type:     BYTE




WindowManager.TakeCompleted PROCEDURE



 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()



 RETURN Level:Benign


See Also:     TakeCompleted , Request , ChangeRecord , InsertRecord