User Tools

Site Tools


deleterecord_execute_delete_record_process_.htm
Navigation:  ABC Library Reference > WindowManager > WindowManager Methods >====== DeleteAction(execute delete record process) ====== Previous pageReturn to chapter overviewNext page

DeleteAction, VIRTUAL

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 , Request , ChangeRecord , InsertRecord

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